blob: 5c4e01a749e843994148806ca50ca2424e57683a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, exceptiongroup
, poetry-core
}:
buildPythonPackage rec {
pname = "generic";
version = "1.1.1";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-UHz2v6K5lNYb7cxBViTfPkpu2M8LItApGoSg3Bb2bqI=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
exceptiongroup
];
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;
};
}
|