depot/third_party/nixpkgs/pkgs/development/python-modules/autograd/default.nix
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

24 lines
687 B
Nix

{ lib, buildPythonPackage, fetchPypi, numpy, future }:
buildPythonPackage rec {
pname = "autograd";
version = "1.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-OD3g9TfvLji4X/lpJZOwz66JWMmzvUUbUsJV/ZFx/84=";
};
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 lib; {
homepage = "https://github.com/HIPS/autograd";
description = "Compute derivatives of NumPy code efficiently";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}