python310Packages.dm-sonnet: init at 2.0.0

This commit is contained in:
Jonas Heinrich
2022-07-16 15:02:05 -04:00
committed by Yt
parent 6d2e664e8f
commit e4983ba583
2 changed files with 56 additions and 0 deletions
@@ -0,0 +1,54 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, numpy
, tabulate
, six
, dm-tree
, absl-py
, wrapt
, docutils
, tensorflow
, tensorflow-datasets }:
buildPythonPackage rec {
pname = "dm-sonnet";
version = "2.0.0";
src = fetchFromGitHub {
owner = "deepmind";
repo = "sonnet";
rev = "v${version}";
sha256 = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8=";
};
buildInputs = [
absl-py
dm-tree
numpy
six
tabulate
wrapt
];
propagatedBuildInputs = [
tabulate
tensorflow
];
checkInputs = [
docutils
tensorflow-datasets
];
pythonImportsCheck = [
"sonnet"
];
meta = with lib; {
description = "Library for building neural networks in TensorFlow";
homepage = "https://github.com/deepmind/sonnet";
license = licenses.asl20;
maintainers = with maintainers; [ onny ];
};
}
+2
View File
@@ -2527,6 +2527,8 @@ in {
dm-haiku = callPackage ../development/python-modules/dm-haiku { };
dm-sonnet = callPackage ../development/python-modules/dm-sonnet { };
dm-tree = callPackage ../development/python-modules/dm-tree {
abseil-cpp = pkgs.abseil-cpp.override {
cxxStandard = "14";