nixpkgs/pkgs/development/python-modules/premailer/default.nix
2020-04-10 17:54:53 +01:00

22 lines
570 B
Nix

{ lib, buildPythonPackage, fetchPypi,
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 ];
propagatedBuildInputs = [ cachetools cssselect cssutils lxml requests ];
meta = {
description = "Turns CSS blocks into style attributes ";
homepage = "https://github.com/peterbe/premailer";
license = lib.licenses.bsd3;
};
}