python38Packages.generic: init at 1.0.1
This commit is contained in:
parent
266bf72885
commit
818b88aa9c
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/generic/default.nix
Normal file
32
pkgs/development/python-modules/generic/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -2958,6 +2958,8 @@ in {
|
|||
|
||||
genanki = callPackage ../development/python-modules/genanki { };
|
||||
|
||||
generic = callPackage ../development/python-modules/generic { };
|
||||
|
||||
genome-collector = callPackage ../development/python-modules/genome-collector { };
|
||||
|
||||
genpy = callPackage ../development/python-modules/genpy { };
|
||||
|
|
Loading…
Reference in a new issue