python3Packages.accupy: fix tests and correct dependencies
This commit is contained in:
parent
38353baa89
commit
d58effee80
@ -1,14 +1,16 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
, mpmath
|
, mpmath
|
||||||
, numpy
|
, numpy
|
||||||
, pipdate
|
|
||||||
, pybind11
|
, pybind11
|
||||||
, pyfma
|
, pyfma
|
||||||
, eigen
|
, eigen
|
||||||
|
, importlib-metadata
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, matplotlib
|
, matplotlib
|
||||||
|
, dufte
|
||||||
, isPy27
|
, isPy27
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -22,20 +24,24 @@ buildPythonPackage rec {
|
|||||||
sha256 = "36506aca53154528997ac22aee6292c83da0f4850bb375c149512b5284bd4948";
|
sha256 = "36506aca53154528997ac22aee6292c83da0f4850bb375c149512b5284bd4948";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pybind11
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pybind11 eigen
|
eigen
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
mpmath
|
mpmath
|
||||||
numpy
|
numpy
|
||||||
pipdate
|
|
||||||
pyfma
|
pyfma
|
||||||
];
|
] ++ lib.optional (pythonOlder "3.8") importlib-metadata;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
matplotlib
|
matplotlib
|
||||||
|
dufte
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user