mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
23 lines
582 B
Nix
23 lines
582 B
Nix
{ lib, buildPythonPackage, fetchPypi,
|
|
cssselect, cssutils, lxml, mock, nose, requests, cachetools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "premailer";
|
|
version = "3.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5eec9603e84cee583a390de69c75192e50d76e38ef0292b027bd64923766aca7";
|
|
};
|
|
|
|
buildInputs = [ mock nose ];
|
|
propagatedBuildInputs = [ cachetools cssselect cssutils lxml requests ];
|
|
|
|
meta = {
|
|
description = "Turns CSS blocks into style attributes ";
|
|
homepage = "https://github.com/peterbe/premailer";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|