python38Packages.generic: init at 1.0.1

This commit is contained in:
P. R. d. O 2021-10-31 18:19:26 -06:00
parent 266bf72885
commit 818b88aa9c
No known key found for this signature in database
GPG key ID: 7B0FF33FF90110C7
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, poetry-core
}:
buildPythonPackage rec {
pname = "generic";
version = "1.0.1";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ex93I+ofo5lP6qoolZwzjxSspeqJimY3vpB32RLJ00k=";
};
nativeBuildInputs = [
poetry-core
];
pythonImportsCheck = [ "generic" ];
meta = with lib; {
description = "Generic programming (Multiple dispatch) library for Python";
maintainers = with maintainers; [ wolfangaukang ];
homepage = "https://github.com/gaphor/generic";
license = licenses.bsdOriginal;
};
}

View file

@ -2958,6 +2958,8 @@ in {
genanki = callPackage ../development/python-modules/genanki { }; genanki = callPackage ../development/python-modules/genanki { };
generic = callPackage ../development/python-modules/generic { };
genome-collector = callPackage ../development/python-modules/genome-collector { }; genome-collector = callPackage ../development/python-modules/genome-collector { };
genpy = callPackage ../development/python-modules/genpy { }; genpy = callPackage ../development/python-modules/genpy { };