biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / autograd / default.nix
blob2b7569d8f74509133d9f93fa4a1961a95843d95d
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   numpy,
6   future,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "autograd";
12   version = "1.6.2";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
20   };
22   propagatedBuildInputs = [
23     numpy
24     future
25   ];
27   # Currently, the PyPI tarball doesn't contain the tests. When that has been
28   # fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404
29   doCheck = false;
31   pythonImportsCheck = [ "autograd" ];
33   meta = with lib; {
34     homepage = "https://github.com/HIPS/autograd";
35     description = "Compute derivatives of NumPy code efficiently";
36     license = licenses.mit;
37     maintainers = with maintainers; [ jluttine ];
38   };