2017-09-01 09:28:52 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
2019-09-19 01:20:20 +01:00
|
|
|
cssselect, cssutils, lxml, mock, nose, requests, cachetools
|
2017-09-01 09:28:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "premailer";
|
2019-02-14 07:37:24 +00:00
|
|
|
version = "3.3.0";
|
2017-09-01 09:28:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:24 +00:00
|
|
|
sha256 = "93be4f197e9d2a87a8fe6b5b6a79b64070dbb523108dfaf2a415b4558fc78ec1";
|
2017-09-01 09:28:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
2017-09-01 09:28:52 +01:00
|
|
|
}
|