2017-09-01 08:28:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
|
|
|
cssselect, cssutils, lxml, mock, nose, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "premailer";
|
2018-06-12 16:47:04 +00:00
|
|
|
version = "3.2.0";
|
2017-09-01 08:28:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Turns CSS blocks into style attributes ";
|
|
|
|
homepage = https://github.com/peterbe/premailer;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 16:47:04 +00:00
|
|
|
sha256 = "ca97cec6115fea6590b49558c55d891996f9eb4da6490c7b60c3a8af4c8c0735";
|
2017-09-01 08:28:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mock nose ];
|
|
|
|
propagatedBuildInputs = [ cssselect cssutils lxml requests ];
|
|
|
|
}
|