File tree 1 file changed +12
-1
lines changed
pkgs/development/python-modules/dm-sonnet
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
{ lib
2
- , absl-py
3
2
, buildPythonPackage
3
+ , click
4
4
, dm-tree
5
5
, docutils
6
6
, etils
7
7
, fetchFromGitHub
8
+ , fetchpatch
8
9
, numpy
9
10
, pythonOlder
10
11
, tabulate
@@ -27,6 +28,14 @@ buildPythonPackage rec {
27
28
hash = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8=" ;
28
29
} ;
29
30
31
+ patches = [
32
+ ( fetchpatch {
33
+ name = "replace-np-bool-with-np-bool_.patch" ;
34
+ url = "https://github.com/deepmind/sonnet/commit/df5d099d4557a9a81a0eb969e5a81ed917bcd612.patch" ;
35
+ hash = "sha256-s7abl83osD4wa0ZhqgDyjqQ3gagwGYCdQifwFqhNp34=" ;
36
+ } )
37
+ ] ;
38
+
30
39
propagatedBuildInputs = [
31
40
dm-tree
32
41
etils
@@ -42,7 +51,9 @@ buildPythonPackage rec {
42
51
} ;
43
52
44
53
nativeCheckInputs = [
54
+ click
45
55
docutils
56
+ tensorflow
46
57
tensorflow-datasets
47
58
] ;
48
59
You can’t perform that action at this time.
0 commit comments