2021-01-25 09:26:54 +01:00
|
|
|
{ lib, 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;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
}
|