pythonPackages.neurotools: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 14:13:34 +02:00 committed by Frederik Rietdijk
parent 86d3371521
commit 0fe45ad2c3
2 changed files with 36 additions and 33 deletions

View 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 ];
};
}

View File

@ -2063,39 +2063,7 @@ in {
howdoi = callPackage ../development/python-modules/howdoi {}; howdoi = callPackage ../development/python-modules/howdoi {};
neurotools = buildPythonPackage (rec { neurotools = callPackage ../development/python-modules/neurotools {};
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 ];
};
});
jdatetime = buildPythonPackage (rec { jdatetime = buildPythonPackage (rec {
name = "jdatetime-${version}"; name = "jdatetime-${version}";