tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.opt-einsum: 3.3.0 -> 3.4.0
Martin Weinelt
1 year ago
51596fda
211e2f9f
+11
-15
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
opt-einsum
default.nix
+11
-15
pkgs/development/python-modules/opt-einsum/default.nix
···
1
1
{
2
2
lib,
3
3
buildPythonPackage,
4
4
-
fetchpatch,
5
4
fetchPypi,
6
6
-
setuptools,
5
5
+
hatch-fancy-pypi-readme,
6
6
+
hatch-vcs,
7
7
+
hatchling,
7
8
numpy,
8
9
pytestCheckHook,
9
10
pythonOlder,
10
11
}:
11
12
12
13
buildPythonPackage rec {
13
13
-
version = "3.3.0";
14
14
+
version = "3.4.0";
14
15
pname = "opt-einsum";
15
16
pyproject = true;
16
17
17
17
-
disabled = pythonOlder "3.6";
18
18
+
disabled = pythonOlder "3.8";
18
19
19
20
src = fetchPypi {
20
21
pname = "opt_einsum";
21
22
inherit version;
22
22
-
hash = "sha256-WfZHX3e7w33PfNdIUZwOxgci6R5jyhFOaIIcDFSkZUk=";
23
23
+
hash = "sha256-lspy8biG0UgkE0h4NJgZTFd/owqPqsEIWGsU8bpEc6w=";
23
24
};
24
25
25
25
-
patches = [
26
26
-
# https://github.com/dgasmith/opt_einsum/pull/208
27
27
-
(fetchpatch {
28
28
-
name = "python312-compatibility.patch";
29
29
-
url = "https://github.com/dgasmith/opt_einsum/commit/0beacf96923bbb2dd1939a9c59398a38ce7a11b1.patch";
30
30
-
hash = "sha256-dmmEzhy17huclo1wOubpBUDc2L7vqEU5b/6a5loM47A=";
31
31
-
})
26
26
+
build-system = [
27
27
+
hatch-fancy-pypi-readme
28
28
+
hatch-vcs
29
29
+
hatchling
32
30
];
33
31
34
34
-
nativeBuildInputs = [ setuptools ];
35
35
-
36
36
-
propagatedBuildInputs = [ numpy ];
32
32
+
dependencies = [ numpy ];
37
33
38
34
nativeCheckInputs = [ pytestCheckHook ];
39
35