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