python3Packages.premailer: init at 3.10.0
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
lxml,
|
||||
cssselect,
|
||||
cssutils,
|
||||
requests,
|
||||
cachetools,
|
||||
lib,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "premailer";
|
||||
version = "3.10.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "peterbe";
|
||||
repo = "premailer";
|
||||
rev = "f4ded0b9701c4985e7ff5c5beda83324c264ea62";
|
||||
hash = "sha256-8ALdpR3aIDg0wP+JYCPY1f7mEJgdJm8xlLlgGpa0Sa4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
lxml
|
||||
cssselect
|
||||
cssutils
|
||||
requests
|
||||
cachetools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "premailer" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/peterbe/premailer/blob/master/CHANGES.rst";
|
||||
description = "Turns CSS blocks into style attributes";
|
||||
homepage = "https://github.com/peterbe/premailer";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.linsui ];
|
||||
};
|
||||
}
|
||||
@@ -12785,6 +12785,8 @@ self: super: with self; {
|
||||
|
||||
preggy = callPackage ../development/python-modules/preggy { };
|
||||
|
||||
premailer = callPackage ../development/python-modules/premailer { };
|
||||
|
||||
preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { };
|
||||
|
||||
presenterm-export = callPackage ../development/python-modules/presenterm-export { };
|
||||
|
||||
Reference in New Issue
Block a user