From 0f98931d466d12f109cfbe74d7c96330c1534a1d Mon Sep 17 00:00:00 2001 From: = Date: Fri, 22 Apr 2016 14:32:15 +0200 Subject: [PATCH] NeuroTools: init at 0.3.1 --- pkgs/top-level/python-packages.nix | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7bcf655efe69..12854cc5e291 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4598,6 +4598,40 @@ in modules // { }; }); + neurotools = buildPythonPackage (rec { + name = "NeuroTools-${version}"; + version = "0.3.1"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/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 { name = "jdatetime-${version}"; version = "1.7.1";