mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
pythonPackages.cssutils: Move to own file
This commit is contained in:
parent
434c31e825
commit
4cf18fc2c5
2 changed files with 23 additions and 21 deletions
22
pkgs/development/python-modules/cssutils/default.nix
Normal file
22
pkgs/development/python-modules/cssutils/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -1997,27 +1997,7 @@ in {
|
|||
|
||||
cssselect = callPackage ../development/python-modules/cssselect { };
|
||||
|
||||
cssutils = buildPythonPackage (rec {
|
||||
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;
|
||||
};
|
||||
});
|
||||
cssutils = callPackage ../development/python-modules/cssutils { };
|
||||
|
||||
darcsver = buildPythonPackage (rec {
|
||||
name = "darcsver-1.7.4";
|
||||
|
|
Loading…
Reference in a new issue