pythonPackages.autograd: init at 1.2 (#41558)

This commit is contained in:
Jaakko Luttinen 2018-06-07 12:06:51 +03:00 committed by Robert Schütz
parent 81853859a1
commit e5d43df48c
2 changed files with 26 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -195,6 +195,8 @@ in {
inherit (pkgs) augeas;
};
autograd = callPackage ../development/python-modules/autograd { };
automat = callPackage ../development/python-modules/automat { };
aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { };