3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/premailer/default.nix

23 lines
570 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi,
2019-09-19 01:20:20 +01:00
cssselect, cssutils, lxml, mock, nose, requests, cachetools
}:
buildPythonPackage rec {
pname = "premailer";
version = "3.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "08pshx7a110k4ll20x0xhpvyn3kkipkrbgxjjn7ncdxs54ihdhgw";
};
buildInputs = [ mock nose ];
2019-09-19 01:20:20 +01:00
propagatedBuildInputs = [ cachetools cssselect cssutils lxml requests ];
meta = {
description = "Turns CSS blocks into style attributes ";
homepage = "https://github.com/peterbe/premailer";
2019-09-19 01:20:20 +01:00
license = lib.licenses.bsd3;
};
}