nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 654 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pdm-backend, 7}: 8 9buildPythonPackage rec { 10 pname = "webcolors"; 11 version = "25.10.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-YquuhlBPZtD2NkwqhSDeSgxHuAwD/DpfGBX+2+98Gb8="; 17 }; 18 19 build-system = [ pdm-backend ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "webcolors" ]; 24 25 meta = { 26 description = "Library for working with color names/values defined by the HTML and CSS specifications"; 27 homepage = "https://github.com/ubernostrum/webcolors"; 28 license = lib.licenses.bsd3; 29 maintainers = [ ]; 30 }; 31}