nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, python-dateutil
6, ipython_genutils
7, decorator
8, pyzmq
9, ipython
10, jupyter-client
11, ipykernel
12, packaging
13, psutil
14, tornado
15, tqdm
16, isPy3k
17, futures ? null
18}:
19
20buildPythonPackage rec {
21 pname = "ipyparallel";
22 version = "8.2.1";
23
24 src = fetchPypi {
25 inherit pname version;
26 sha256 = "sha256-8mdHPFL8aohsa4Fq2xVb7Asne8fSJPs/q+uDg05zPHI=";
27 };
28
29 buildInputs = [ nose ];
30
31 propagatedBuildInputs = [ python-dateutil ipython_genutils decorator pyzmq ipython jupyter-client ipykernel packaging psutil tornado tqdm
32 ] ++ lib.optionals (!isPy3k) [ futures ];
33
34 # Requires access to cluster
35 doCheck = false;
36
37 disabled = !isPy3k;
38
39 meta = {
40 description = "Interactive Parallel Computing with IPython";
41 homepage = "http://ipython.org/";
42 license = lib.licenses.bsd3;
43 maintainers = with lib.maintainers; [ fridh ];
44 };
45}