pythonPackages.premailer: init at 3.0.1

This commit is contained in:
betaboon 2017-09-01 10:28:52 +02:00 committed by Frederik Rietdijk
parent 820aa5fef9
commit 4b4e05c6ec
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi,
cssselect, cssutils, lxml, mock, nose, requests
}:
buildPythonPackage rec {
pname = "premailer";
name = "${pname}-${version}";
version = "3.0.1";
meta = {
description = "Turns CSS blocks into style attributes ";
homepage = https://github.com/peterbe/premailer;
license = lib.licenses.bsd3;
};
src = fetchPypi {
inherit pname version;
sha256 = "0cmlvqx1dvy16k5q5ylmr43nlfpb9k2zl3q7s4kzhf0lml4wqwaf";
};
buildInputs = [ mock nose ];
propagatedBuildInputs = [ cssselect cssutils lxml requests ];
}

View File

@ -16436,6 +16436,8 @@ in {
};
};
premailer = callPackage ../development/python-modules/premailer { };
prettytable = buildPythonPackage rec {
name = "prettytable-0.7.1";