Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / autograd / default.nix
blob26f636e85bf032d3d7028ec03d4e14e25ce87d16
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , numpy
5 , future
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "autograd";
11   version = "1.6.2";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
19   };
21   propagatedBuildInputs = [
22     numpy
23     future
24   ];
26   # Currently, the PyPI tarball doesn't contain the tests. When that has been
27   # fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404
28   doCheck = false;
30   pythonImportsCheck = [
31     "autograd"
32   ];
34   meta = with lib; {
35     homepage = "https://github.com/HIPS/autograd";
36     description = "Compute derivatives of NumPy code efficiently";
37     license = licenses.mit;
38     maintainers = with maintainers; [ jluttine ];
39   };