From e5d43df48cfbedb114651efedd995204918f17df Mon Sep 17 00:00:00 2001 From: Jaakko Luttinen Date: Thu, 7 Jun 2018 12:06:51 +0300 Subject: pythonPackages.autograd: init at 1.2 (#41558) --- .../python-modules/autograd/default.nix | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/autograd/default.nix (limited to 'pkgs/development/python-modules/autograd') diff --git a/pkgs/development/python-modules/autograd/default.nix b/pkgs/development/python-modules/autograd/default.nix new file mode 100644 index 0000000000000..1c3c1fdefbeab --- /dev/null +++ b/pkgs/development/python-modules/autograd/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi, numpy, future, nose }: + +buildPythonPackage rec { + pname = "autograd"; + version = "1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "0zd4lhz9dpll4i63jjijbzkzbgmg8h88il7lr7kmcylvadnzm2x0"; + }; + + propagatedBuildInputs = [ numpy future ]; + + # Currently, the PyPI tarball doesn't contain the tests. When that has been + # fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404 + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/HIPS/autograd; + description = "Compute derivatives of NumPy code efficiently"; + license = licenses.mit; + maintainers = with maintainers; [ jluttine ]; + }; +} -- cgit 1.4.1