1{ lib, buildPythonPackage, fetchPypi, numpy, future }:
2
3buildPythonPackage rec {
4 pname = "autograd";
5 version = "1.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-2AvSJRVNHbE8tOrM96GMNYvnIJJkG2hxf5b88dFqzQs=";
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 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}