python.pkgs.mxnet: init at 0.11.0

This commit is contained in:
Nikolay Amiantov 2017-09-16 04:39:33 +03:00
parent c71d8a1aeb
commit eb2f321e11

View File

@ -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";