pythonPackages.neurotools: Move to own file
This commit is contained in:
parent
86d3371521
commit
0fe45ad2c3
2 changed files with 36 additions and 33 deletions
35
pkgs/development/python-modules/neurotools/default.nix
Normal file
35
pkgs/development/python-modules/neurotools/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, scipy, numpy, matplotlib, tables, pyaml, urllib3, rpy2, mpi4py }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "NeuroTools";
|
||||
version = "0.3.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ly6qa87l3afhksab06vp1iimlbm1kdnsw98mxcnpzz9q07l4nd4";
|
||||
};
|
||||
|
||||
# Tests are not automatically run
|
||||
# Many tests fail (using py.test), and some need R
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
scipy
|
||||
numpy
|
||||
matplotlib
|
||||
tables
|
||||
pyaml
|
||||
urllib3
|
||||
rpy2
|
||||
mpi4py
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Collection of tools to support analysis of neural activity";
|
||||
homepage = https://pypi.python.org/pypi/NeuroTools;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ nico202 ];
|
||||
};
|
||||
}
|
|
@ -2063,39 +2063,7 @@ in {
|
|||
|
||||
howdoi = callPackage ../development/python-modules/howdoi {};
|
||||
|
||||
neurotools = buildPythonPackage (rec {
|
||||
name = "NeuroTools-${version}";
|
||||
version = "0.3.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/N/NeuroTools/${name}.tar.gz";
|
||||
sha256 = "0ly6qa87l3afhksab06vp1iimlbm1kdnsw98mxcnpzz9q07l4nd4";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
# Tests are not automatically run
|
||||
# Many tests fail (using py.test), and some need R
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
scipy
|
||||
numpy
|
||||
matplotlib
|
||||
tables
|
||||
pyaml
|
||||
urllib3
|
||||
rpy2
|
||||
mpi4py
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Collection of tools to support analysis of neural activity";
|
||||
homepage = https://pypi.python.org/pypi/NeuroTools;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ nico202 ];
|
||||
};
|
||||
});
|
||||
neurotools = callPackage ../development/python-modules/neurotools {};
|
||||
|
||||
jdatetime = buildPythonPackage (rec {
|
||||
name = "jdatetime-${version}";
|
||||
|
|
Loading…
Reference in a new issue