pythonPackages.cssutils: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 13:13:12 +02:00 committed by Frederik Rietdijk
parent 434c31e825
commit 4cf18fc2c5
2 changed files with 23 additions and 21 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, mock }:
buildPythonPackage rec {
pname = "cssutils";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "0qwha9x1wml2qmipbcz03gndnlwhzrjdvw9i09si247a90l8p8fq";
};
buildInputs = [ mock ];
# couple of failing tests
doCheck = false;
meta = with stdenv.lib; {
description = "A Python package to parse and build CSS";
homepage = http://code.google.com/p/cssutils/;
license = licenses.lgpl3Plus;
};
}

View file

@ -1997,27 +1997,7 @@ in {
cssselect = callPackage ../development/python-modules/cssselect { }; cssselect = callPackage ../development/python-modules/cssselect { };
cssutils = buildPythonPackage (rec { cssutils = callPackage ../development/python-modules/cssutils { };
name = "cssutils-1.0.1";
src = pkgs.fetchurl {
url = mirror://pypi/c/cssutils/cssutils-1.0.1.tar.gz;
sha256 = "0qwha9x1wml2qmipbcz03gndnlwhzrjdvw9i09si247a90l8p8fq";
};
buildInputs = with self; [ self.mock ];
# couple of failing tests
doCheck = false;
meta = {
description = "A Python package to parse and build CSS";
homepage = http://code.google.com/p/cssutils/;
license = licenses.lgpl3Plus;
};
});
darcsver = buildPythonPackage (rec { darcsver = buildPythonPackage (rec {
name = "darcsver-1.7.4"; name = "darcsver-1.7.4";