tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.dm-sonnet: add missing input
Fabian Affolter
3 years ago
e702dff0
cad704eb
+21
-16
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
dm-sonnet
default.nix
+21
-16
pkgs/development/python-modules/dm-sonnet/default.nix
···
1
1
{ lib
2
2
-
, fetchFromGitHub
2
2
+
, absl-py
3
3
, buildPythonPackage
4
4
+
, dm-tree
5
5
+
, docutils
6
6
+
, etils
7
7
+
, fetchFromGitHub
4
8
, numpy
9
9
+
, pythonOlder
5
10
, tabulate
6
6
-
, six
7
7
-
, dm-tree
8
8
-
, absl-py
11
11
+
, tensorflow
12
12
+
, tensorflow-datasets
9
13
, wrapt
10
10
-
, docutils
11
11
-
, tensorflow
12
12
-
, tensorflow-datasets }:
14
14
+
}:
13
15
14
16
buildPythonPackage rec {
15
17
pname = "dm-sonnet";
16
18
version = "2.0.0";
19
19
+
format = "setuptools";
20
20
+
21
21
+
disabled = pythonOlder "3.6";
17
22
18
23
src = fetchFromGitHub {
19
24
owner = "deepmind";
20
25
repo = "sonnet";
21
26
rev = "v${version}";
22
22
-
sha256 = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8=";
27
27
+
hash = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8=";
23
28
};
24
29
25
25
-
buildInputs = [
26
26
-
absl-py
30
30
+
propagatedBuildInputs = [
27
31
dm-tree
32
32
+
etils
28
33
numpy
29
29
-
six
30
34
tabulate
31
35
wrapt
32
32
-
];
36
36
+
] ++ etils.optional-dependencies.epath;
33
37
34
34
-
propagatedBuildInputs = [
35
35
-
tabulate
36
36
-
tensorflow
37
37
-
];
38
38
+
passthru.optional-dependencies = {
39
39
+
tensorflow = [
40
40
+
tensorflow
41
41
+
];
42
42
+
};
38
43
39
44
checkInputs = [
40
45
docutils