mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
python.pkgs.graph_nets: init at 1.0.3
This commit is contained in:
parent
11801a4d47
commit
d88406a43f
47
pkgs/development/python-modules/graph_nets/default.nix
Normal file
47
pkgs/development/python-modules/graph_nets/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, tensorflow
|
||||
, absl-py
|
||||
, dm-sonnet
|
||||
, networkx
|
||||
, numpy
|
||||
, setuptools
|
||||
, six
|
||||
, future
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graph_nets";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15cbs9smmgqz2n9mnlzdbqj3iv9iw179d2g0f9lnimdy7xl4jqdf";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/deepmind/graph_nets/issues/63
|
||||
sed -i 's/dm-sonnet==1.23/dm-sonnet/' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
tensorflow
|
||||
absl-py
|
||||
dm-sonnet
|
||||
networkx
|
||||
numpy
|
||||
setuptools
|
||||
six
|
||||
future
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Build Graph Nets in Tensorflow";
|
||||
homepage = https://github.com/deepmind/graph_nets;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ timokau ];
|
||||
};
|
||||
}
|
@ -4877,6 +4877,8 @@ in {
|
||||
|
||||
graphite_beacon = callPackage ../development/python-modules/graphite_beacon { };
|
||||
|
||||
graph_nets = callPackage ../development/python-modules/graph_nets { };
|
||||
|
||||
influxgraph = callPackage ../development/python-modules/influxgraph { };
|
||||
|
||||
graphitepager = callPackage ../development/python-modules/graphitepager { };
|
||||
|
Loading…
Reference in New Issue
Block a user