mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
python.pkgs.mxnet: init at 0.11.0
This commit is contained in:
parent
c71d8a1aeb
commit
eb2f321e11
@ -3644,6 +3644,25 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
mxnet = buildPythonPackage rec {
|
||||
inherit (pkgs.mxnet) name version src meta;
|
||||
|
||||
buildInputs = [ pkgs.mxnet ];
|
||||
propagatedBuildInputs = with self; [ requests numpy graphviz ];
|
||||
|
||||
LD_LIBRARY_PATH = makeLibraryPath [ pkgs.mxnet ];
|
||||
|
||||
doCheck = !isPy3k;
|
||||
|
||||
preConfigure = ''
|
||||
cd python
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm -rf $out/mxnet
|
||||
ln -s ${pkgs.mxnet}/lib/libmxnet.so $out/${python.sitePackages}/mxnet
|
||||
'';
|
||||
};
|
||||
|
||||
pkginfo = buildPythonPackage rec {
|
||||
version = "1.3.2";
|
||||
|
Loading…
Reference in New Issue
Block a user