1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Merge pull request #81134 from bcdarwin/python3-nitime

python3Packages.nitime: init at 0.8.1
This commit is contained in:
Mario Rodas 2020-02-27 07:26:42 -05:00 committed by GitHub
commit 607a03c566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, python
, fetchPypi
, pytest
, cython
, numpy
, scipy
, matplotlib
, networkx
, nibabel
}:
buildPythonPackage rec {
pname = "nitime";
version = "0.8.1";
disabled = python.pythonVersion != "3.7"; # gcc error when running Cython with Python 3.8
src = fetchPypi {
inherit pname version;
sha256 = "0hb3x5196z2zaawb8s7lhja0vd3n983ncaynqfl9qg315x9ax7i6";
};
checkInputs = [ pytest ];
buildInputs = [ cython ];
propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ];
checkPhase = "pytest nitime/tests";
meta = with lib; {
homepage = https://nipy.org/nitime;
description = "Algorithms and containers for time-series analysis in time and spectral domains";
license = licenses.bsd3;
maintainers = [ maintainers.bcdarwin ];
};
}

View file

@ -4464,6 +4464,8 @@ in {
inherit (pkgs) which; inherit (pkgs) which;
}; };
nitime = callPackage ../development/python-modules/nitime { };
nixpkgs = callPackage ../development/python-modules/nixpkgs { }; nixpkgs = callPackage ../development/python-modules/nixpkgs { };
nixpkgs-pytools = callPackage ../development/python-modules/nixpkgs-pytools { }; nixpkgs-pytools = callPackage ../development/python-modules/nixpkgs-pytools { };