python.pkgs.webcolors: 1.4 -> 1.7
This commit is contained in:
parent
7afd65aed4
commit
6fee9079aa
|
@ -0,0 +1,25 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webcolors";
|
||||
version = "1.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e47e68644d41c0b1f1e4d939cfe4039bdf1ab31234df63c7a4f59d4766487206";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover -s tests
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Library for working with color names/values defined by the HTML and CSS specifications";
|
||||
homepage = https://bitbucket.org/ubernostrum/webcolors/overview/;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -18164,24 +18164,7 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
webcolors = buildPythonPackage rec {
|
||||
name = "webcolors-1.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/w/webcolors/${name}.tar.gz";
|
||||
sha256 = "304fc95dab2848c7bf64f378356766e692c2f8b4a8b15fa3509544e6412936e8";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Library for working with color names/values defined by the HTML and CSS specifications";
|
||||
homepage = https://bitbucket.org/ubernostrum/webcolors/overview/;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
webcolors = callPackage ../development/python-modules/webcolors { };
|
||||
|
||||
webencodings = callPackage ../development/python-modules/webencodings { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue