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