Files
nixpkgs/pkgs/development/python-modules/generic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
737 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildPythonPackage,
exceptiongroup,
fetchPypi,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "generic";
version = "1.1.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-Dvpiw6DRQczT5Tcj81II1cdZAIPbcWTIENLP/QQprpI=";
};
build-system = [ poetry-core ];
dependencies = [ exceptiongroup ];
pythonImportsCheck = [ "generic" ];
meta = with lib; {
description = "Generic programming (Multiple dispatch) library for Python";
homepage = "https://github.com/gaphor/generic";
changelog = "https://github.com/gaphor/generic/releases/tag/${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}