python312Packages.premailer: drop

This commit is contained in:
Pyrox 2024-10-14 13:23:29 -04:00
parent 9f6e7677b8
commit 84700f2cca
No known key found for this signature in database
GPG key ID: 8CDF3F7CAA53A0F5
4 changed files with 1 additions and 47 deletions

View file

@ -14,7 +14,6 @@
openpyxl,
pdf2docx,
pillow,
premailer,
pyclipper,
pymupdf,
python-docx,
@ -76,7 +75,6 @@ buildPythonPackage {
openpyxl
pdf2docx
pillow
premailer
pyclipper
pymupdf
python-docx

View file

@ -1,43 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
isPy27,
cssselect,
cssutils,
lxml,
mock,
nose,
requests,
cachetools,
}:
buildPythonPackage rec {
pname = "premailer";
version = "3.10.0";
format = "setuptools";
disabled = isPy27; # no longer compatible with urllib
src = fetchPypi {
inherit pname version;
sha256 = "d1875a8411f5dc92b53ef9f193db6c0f879dc378d618e0ad292723e388bfe4c2";
};
buildInputs = [
mock
nose
];
propagatedBuildInputs = [
cachetools
cssselect
cssutils
lxml
requests
];
meta = {
description = "Turns CSS blocks into style attributes";
homepage = "https://github.com/peterbe/premailer";
license = lib.licenses.bsd3;
};
}

View file

@ -407,6 +407,7 @@ mapAliases ({
postorius = throw "Please use pkgs.mailmanPackages.postorius"; # added 2022-04-29
powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
prayer-times-calculator = prayer-times-calculator-offline; # added 2024-08-11
premailer = throw "premailer was removed, as it is not compatible with lxml>4.9.4.";
privacyidea-ldap-proxy = throw "privacyidea-ldap-proxy has been removed from nixpkgs"; # added 2023-10-31
proboscis = throw "proboscis has been removed since it has not been maintained for 11 years"; # added 2024-05-20
prometheus_client = prometheus-client; # added 2021-06-10

View file

@ -10650,8 +10650,6 @@ self: super: with self; {
preggy = callPackage ../development/python-modules/preggy { };
premailer = callPackage ../development/python-modules/premailer { };
preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { };
preshed = callPackage ../development/python-modules/preshed { };