1{ lib, buildPythonPackage, fetchPypi,
2 cssselect, cssutils, lxml, mock, nose, requests, cachetools
3}:
4
5buildPythonPackage rec {
6 pname = "premailer";
7 version = "3.3.0";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "93be4f197e9d2a87a8fe6b5b6a79b64070dbb523108dfaf2a415b4558fc78ec1";
12 };
13
14 buildInputs = [ mock nose ];
15 propagatedBuildInputs = [ cachetools cssselect cssutils lxml requests ];
16
17 meta = {
18 description = "Turns CSS blocks into style attributes ";
19 homepage = https://github.com/peterbe/premailer;
20 license = lib.licenses.bsd3;
21 };
22}