2017-09-01 10:28:52 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi,
|
|
|
|
cssselect, cssutils, lxml, mock, nose, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "premailer";
|
2018-06-12 18:47:04 +02:00
|
|
|
version = "3.2.0";
|
2017-09-01 10:28:52 +02: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 18:47:04 +02:00
|
|
|
sha256 = "ca97cec6115fea6590b49558c55d891996f9eb4da6490c7b60c3a8af4c8c0735";
|
2017-09-01 10:28:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mock nose ];
|
|
|
|
propagatedBuildInputs = [ cssselect cssutils lxml requests ];
|
|
|
|
}
|