depot/third_party/nixpkgs/pkgs/development/python-modules/autograd/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

24 lines
687 B
Nix

{ lib, buildPythonPackage, fetchPypi, numpy, future }:
buildPythonPackage rec {
pname = "autograd";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2AvSJRVNHbE8tOrM96GMNYvnIJJkG2hxf5b88dFqzQs=";
};
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 ];
};
}