tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python313Packages.generic: refactor
Fabian Affolter
10 months ago
792bcda7
7acf5851
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
generic
default.nix
+7
-7
pkgs/development/python-modules/generic/default.nix
···
1
{
2
lib,
3
buildPythonPackage,
4
-
pythonOlder,
5
-
fetchPypi,
6
exceptiongroup,
0
7
poetry-core,
0
8
}:
9
10
buildPythonPackage rec {
11
pname = "generic";
12
version = "1.1.4";
13
-
disabled = pythonOlder "3.7";
14
15
-
format = "pyproject";
16
17
src = fetchPypi {
18
inherit pname version;
19
hash = "sha256-3QcFbbWgCJcL37MwiK1Sv7LG6N60zsw93CupD4Xzp/w=";
20
};
21
22
-
nativeBuildInputs = [ poetry-core ];
23
24
-
propagatedBuildInputs = [ exceptiongroup ];
25
26
pythonImportsCheck = [ "generic" ];
27
28
meta = with lib; {
29
description = "Generic programming (Multiple dispatch) library for Python";
30
-
maintainers = [ ];
31
homepage = "https://github.com/gaphor/generic";
32
changelog = "https://github.com/gaphor/generic/releases/tag/${version}";
33
license = licenses.bsd3;
0
34
};
35
}
···
1
{
2
lib,
3
buildPythonPackage,
0
0
4
exceptiongroup,
5
+
fetchPypi,
6
poetry-core,
7
+
pythonOlder,
8
}:
9
10
buildPythonPackage rec {
11
pname = "generic";
12
version = "1.1.4";
13
+
pyproject = true;
14
15
+
disabled = pythonOlder "3.8";
16
17
src = fetchPypi {
18
inherit pname version;
19
hash = "sha256-3QcFbbWgCJcL37MwiK1Sv7LG6N60zsw93CupD4Xzp/w=";
20
};
21
22
+
build-system = [ poetry-core ];
23
24
+
dependencies = [ exceptiongroup ];
25
26
pythonImportsCheck = [ "generic" ];
27
28
meta = with lib; {
29
description = "Generic programming (Multiple dispatch) library for Python";
0
30
homepage = "https://github.com/gaphor/generic";
31
changelog = "https://github.com/gaphor/generic/releases/tag/${version}";
32
license = licenses.bsd3;
33
+
maintainers = [ ];
34
};
35
}