mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
python38Packages.generic: init at 1.0.1
This commit is contained in:
parent
266bf72885
commit
818b88aa9c
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 New Issue
Block a user