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