mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / autograd / default.nix
blobe8be581013029d1e3f70ae5d16afd67d725f9e21
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   hatchling,
6   numpy,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "autograd";
13   version = "1.7.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-3nQ/02jW31I803MF3NFxhhqXUqFESTZ30sn1pWmD/y8=";
21   };
23   build-system = [ hatchling ];
25   dependencies = [ numpy ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   pythonImportsCheck = [ "autograd" ];
31   meta = with lib; {
32     description = "Compute derivatives of NumPy code efficiently";
33     homepage = "https://github.com/HIPS/autograd";
34     changelog = "https://github.com/HIPS/autograd/releases/tag/v${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ jluttine ];
37   };