nixpkgs-suyu/pkgs/development/python-modules/premailer/default.nix
R. RyanTM 60df4d200f python37Packages.premailer: 3.3.0 -> 3.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-premailer/versions
2019-09-28 10:44:24 -07:00

22 lines
568 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;
};
}