1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 07:04:28 +00:00
nixpkgs/pkgs/development/python-modules/autograd/default.nix
2020-04-10 17:54:53 +01:00

25 lines
698 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, numpy, future }:
buildPythonPackage rec {
pname = "autograd";
version = "1.3";
src = fetchPypi {
inherit pname version;
sha256 = "1i1ylf03b7220n8znk63zg6sgdd3py9wlh1pvqvy03g1fxsi8pd1";
};
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 ];
};
}