2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, numpy, future }:
|
2018-06-07 10:06:51 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "autograd";
|
2019-10-08 03:46:54 +01:00
|
|
|
version = "1.3";
|
2018-06-07 10:06:51 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-08 03:46:54 +01:00
|
|
|
sha256 = "1i1ylf03b7220n8znk63zg6sgdd3py9wlh1pvqvy03g1fxsi8pd1";
|
2018-06-07 10:06:51 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|