python310Packages.webcolors: 1.11.1 -> 1.12

This commit is contained in:
Fabian Affolter 2022-05-27 00:51:31 +02:00
parent e5e5786660
commit c115aee8ff

View File

@ -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; [ ];
};
}