diff options
Diffstat (limited to 'pkgs/development/python-modules/webcolors/default.nix')
-rw-r--r-- | pkgs/development/python-modules/webcolors/default.nix | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/webcolors/default.nix b/pkgs/development/python-modules/webcolors/default.nix index 273cd7ac5d1..ccd4163492f 100644 --- a/pkgs/development/python-modules/webcolors/default.nix +++ b/pkgs/development/python-modules/webcolors/default.nix @@ -1,30 +1,34 @@ { lib , buildPythonPackage , fetchPypi -, isPy27 +, pythonOlder , python -, six }: buildPythonPackage rec { pname = "webcolors"; - version = "1.11.1"; - disabled = isPy27; + version = "1.12"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "76f360636957d1c976db7466bc71dcb713bb95ac8911944dffc55c01cb516de6"; + hash = "sha256-FtBD06CP1qGxt+Pp5iZA0JeQ3OgNK91HkqF1s1/nlKk="; }; - propagatedBuildInputs = [ six ]; - checkPhase = '' ${python.interpreter} -m unittest discover -s tests ''; - meta = { + pythonImportsCheck = [ + "webcolors" + ]; + + meta = with lib; { 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; + homepage = "https://github.com/ubernostrum/webcolors"; + license = licenses.bsd3; + maintainers = with maintainers; [ ]; }; } |