2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, numpy, future }:
|
2018-06-07 11:06:51 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "autograd";
|
2019-10-08 04:46:54 +02:00
|
|
|
version = "1.3";
|
2018-06-07 11:06:51 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-08 04:46:54 +02:00
|
|
|
sha256 = "1i1ylf03b7220n8znk63zg6sgdd3py9wlh1pvqvy03g1fxsi8pd1";
|
2018-06-07 11:06:51 +02: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; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/HIPS/autograd";
|
2018-06-07 11:06:51 +02:00
|
|
|
description = "Compute derivatives of NumPy code efficiently";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
};
|
|
|
|
}
|