1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #174814 from fabaff/webcolors-bump

python310Packages.webcolors: 1.11.1 -> 1.12
This commit is contained in:
Sandro 2022-05-27 17:38:13 +02:00 committed by GitHub
commit e7fe5ad8a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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