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:
commit
e7fe5ad8a7
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue