pythonPackages.premailer: init at 3.0.1

authored by betaboon and committed by Frederik Rietdijk 4b4e05c6 820aa5fe

+25
+23
pkgs/development/python-modules/premailer/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, 2 + cssselect, cssutils, lxml, mock, nose, requests 3 + }: 4 + 5 + buildPythonPackage rec { 6 + pname = "premailer"; 7 + name = "${pname}-${version}"; 8 + version = "3.0.1"; 9 + 10 + meta = { 11 + description = "Turns CSS blocks into style attributes "; 12 + homepage = https://github.com/peterbe/premailer; 13 + license = lib.licenses.bsd3; 14 + }; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + sha256 = "0cmlvqx1dvy16k5q5ylmr43nlfpb9k2zl3q7s4kzhf0lml4wqwaf"; 19 + }; 20 + 21 + buildInputs = [ mock nose ]; 22 + propagatedBuildInputs = [ cssselect cssutils lxml requests ]; 23 + }
+2
pkgs/top-level/python-packages.nix
··· 16436 16436 }; 16437 16437 }; 16438 16438 16439 + premailer = callPackage ../development/python-modules/premailer { }; 16440 + 16439 16441 prettytable = buildPythonPackage rec { 16440 16442 name = "prettytable-0.7.1"; 16441 16443