1{ lib, buildPythonPackage, fetchPypi,
2 cssselect, cssutils, lxml, mock, nose, requests, cachetools
3}:
4
5buildPythonPackage rec {
6 pname = "premailer";
7 version = "3.6.1";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "08pshx7a110k4ll20x0xhpvyn3kkipkrbgxjjn7ncdxs54ihdhgw";
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}