nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 683 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 exceptiongroup, 5 fetchPypi, 6 poetry-core, 7}: 8 9buildPythonPackage rec { 10 pname = "generic"; 11 version = "1.1.6"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-CFtkkGjFjvM4WsYz08nmik61eM5S71GT+Rh+nI8mZ1k="; 17 }; 18 19 build-system = [ poetry-core ]; 20 21 dependencies = [ exceptiongroup ]; 22 23 pythonImportsCheck = [ "generic" ]; 24 25 meta = { 26 description = "Generic programming (Multiple dispatch) library for Python"; 27 homepage = "https://github.com/gaphor/generic"; 28 changelog = "https://github.com/gaphor/generic/releases/tag/${version}"; 29 license = lib.licenses.bsd3; 30 maintainers = [ ]; 31 }; 32}