Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 647 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27, 2 cssselect, cssutils, lxml, mock, nose, requests, cachetools 3}: 4 5buildPythonPackage rec { 6 pname = "premailer"; 7 version = "3.10.0"; 8 disabled = isPy27; # no longer compatible with urllib 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "d1875a8411f5dc92b53ef9f193db6c0f879dc378d618e0ad292723e388bfe4c2"; 13 }; 14 15 buildInputs = [ mock nose ]; 16 propagatedBuildInputs = [ cachetools cssselect cssutils lxml requests ]; 17 18 meta = { 19 description = "Turns CSS blocks into style attributes "; 20 homepage = "https://github.com/peterbe/premailer"; 21 license = lib.licenses.bsd3; 22 }; 23}