mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 15:23:26 +00:00
python310Packages.autograd: add pythonImportsCheck
This commit is contained in:
parent
78fa8aba5d
commit
fd16ac7f20
@ -1,4 +1,9 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, numpy, future }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, future
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "autograd";
|
||||
@ -9,12 +14,19 @@ buildPythonPackage rec {
|
||||
hash = "sha256-hzHgigxOOJ2GlaQAcq2kUSZBwRO2ys6PTPvo636a7es=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy future ];
|
||||
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;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"autograd"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/HIPS/autograd";
|
||||
description = "Compute derivatives of NumPy code efficiently";
|
||||
|
Loading…
Reference in New Issue
Block a user