tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.autograd: 1.6.2 -> 1.7.0
Martin Weinelt
1 year ago
c9c73aa0
e2f74a9a
+12
-13
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
autograd
default.nix
+12
-13
pkgs/development/python-modules/autograd/default.nix
···
2
2
lib,
3
3
buildPythonPackage,
4
4
fetchPypi,
5
5
+
hatchling,
5
6
numpy,
6
6
-
future,
7
7
+
pytestCheckHook,
7
8
pythonOlder,
8
9
}:
9
10
10
11
buildPythonPackage rec {
11
12
pname = "autograd";
12
12
-
version = "1.6.2";
13
13
-
format = "setuptools";
13
13
+
version = "1.7.0";
14
14
+
pyproject = true;
14
15
15
15
-
disabled = pythonOlder "3.7";
16
16
+
disabled = pythonOlder "3.8";
16
17
17
18
src = fetchPypi {
18
19
inherit pname version;
19
19
-
hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
20
20
+
hash = "sha256-3nQ/02jW31I803MF3NFxhhqXUqFESTZ30sn1pWmD/y8=";
20
21
};
21
22
22
22
-
propagatedBuildInputs = [
23
23
-
numpy
24
24
-
future
25
25
-
];
23
23
+
build-system = [ hatchling ];
24
24
+
25
25
+
dependencies = [ numpy ];
26
26
27
27
-
# Currently, the PyPI tarball doesn't contain the tests. When that has been
28
28
-
# fixed, enable testing. See: https://github.com/HIPS/autograd/issues/404
29
29
-
doCheck = false;
27
27
+
nativeCheckInputs = [ pytestCheckHook ];
30
28
31
29
pythonImportsCheck = [ "autograd" ];
32
30
33
31
meta = with lib; {
32
32
+
description = "Compute derivatives of NumPy code efficiently";
34
33
homepage = "https://github.com/HIPS/autograd";
35
35
-
description = "Compute derivatives of NumPy code efficiently";
34
34
+
changelog = "https://github.com/HIPS/autograd/releases/tag/v${version}";
36
35
license = licenses.mit;
37
36
maintainers = with maintainers; [ jluttine ];
38
37
};