tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
rlcard: patch distutils
Dennis
1 year ago
4622ddb9
869ad3ec
+11
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
rlcard
default.nix
+11
-3
pkgs/development/python-modules/rlcard/default.nix
···
9
9
termcolor,
10
10
pytestCheckHook,
11
11
torch,
12
12
-
pythonAtLeast,
12
12
+
fetchpatch2,
13
13
}:
14
14
15
15
buildPythonPackage rec {
···
23
23
tag = version;
24
24
hash = "sha256-SWj6DBItQzSM+nioV54a350Li7tbBaVXsQxNAqVgB0k=";
25
25
};
26
26
+
27
27
+
patches = [
28
28
+
# Remove distutils to make it compatible with Python 3.12
29
29
+
# https://github.com/datamllab/rlcard/pull/323
30
30
+
(fetchpatch2 {
31
31
+
name = "remove-distutils.patch";
32
32
+
url = "https://github.com/datamllab/rlcard/commit/e44378157aaf229ffe2aaef9fafe500c2844045e.patch";
33
33
+
hash = "sha256-aQS4d9ETj6pDv26G77mC+0xHQMA2hjspAxtAyz0rA6Y=";
34
34
+
})
35
35
+
];
26
36
27
37
build-system = [
28
38
setuptools
···
70
80
changelog = "https://github.com/datamllab/rlcard/releases/tag/${version}";
71
81
license = licenses.mit;
72
82
maintainers = with maintainers; [ GaetanLepage ];
73
73
-
# Relies on deprecated distutils
74
74
-
broken = pythonAtLeast "3.12";
75
83
};
76
84
}