1{ stdenv, buildPythonPackage, fetchPypi, numpy, future }:
2
3buildPythonPackage rec {
4 pname = "autograd";
5 version = "1.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0zd4lhz9dpll4i63jjijbzkzbgmg8h88il7lr7kmcylvadnzm2x0";
10 };
11
12 propagatedBuildInputs = [ numpy future ];
13
14 # Currently, the PyPI tarball doesn't contain the tests. When that has been
15 # fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 homepage = https://github.com/HIPS/autograd;
20 description = "Compute derivatives of NumPy code efficiently";
21 license = licenses.mit;
22 maintainers = with maintainers; [ jluttine ];
23 };
24}