Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 610 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.7.0"; 8 disabled = isPy27; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "5eec9603e84cee583a390de69c75192e50d76e38ef0292b027bd64923766aca7"; 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}