Merge pull request #224861 from bcdarwin/nitime-maintenance
python310Packages.nitime: minor maintenance
This commit is contained in:
commit
6057bb42d1
1 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,8 @@
|
||||||
{ lib
|
{ stdenv
|
||||||
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
, pythonOlder
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, cython
|
, cython
|
||||||
, numpy
|
, numpy
|
||||||
|
@ -14,21 +15,20 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nitime";
|
pname = "nitime";
|
||||||
version = "0.10.1";
|
version = "0.10.1";
|
||||||
disabled = isPy27;
|
disabled = pythonOlder "3.7";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-NnoVrSt6MTTcNup1e+/1v5JoHCYcycuQH4rHLzXJt+Y=";
|
hash = "sha256-NnoVrSt6MTTcNup1e+/1v5JoHCYcycuQH4rHLzXJt+Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
|
||||||
buildInputs = [ cython ];
|
buildInputs = [ cython ];
|
||||||
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
|
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
|
||||||
|
|
||||||
disabledTests = [
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
# https://github.com/nipy/nitime/issues/197
|
doCheck = !stdenv.isDarwin; # tests hang indefinitely
|
||||||
"test_FilterAnalyzer"
|
pythonImportsCheck = [ "nitime" ];
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://nipy.org/nitime";
|
homepage = "https://nipy.org/nitime";
|
||||||
|
|
Loading…
Reference in a new issue