mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
pythonPackages.premailer: init at 3.0.1
This commit is contained in:
parent
820aa5fef9
commit
4b4e05c6ec
23
pkgs/development/python-modules/premailer/default.nix
Normal file
23
pkgs/development/python-modules/premailer/default.nix
Normal 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 ];
|
||||
}
|
@ -16436,6 +16436,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
premailer = callPackage ../development/python-modules/premailer { };
|
||||
|
||||
prettytable = buildPythonPackage rec {
|
||||
name = "prettytable-0.7.1";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user