mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
40 lines
810 B
Nix
40 lines
810 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, dateutil
|
|
, ipython_genutils
|
|
, decorator
|
|
, pyzmq
|
|
, ipython
|
|
, jupyter_client
|
|
, ipykernel
|
|
, tornado
|
|
, isPy3k
|
|
, futures
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipyparallel";
|
|
version = "6.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9afb0001d6fa2eca9340e9daab5da021db05211987868f47ab5b305d701cb12d";
|
|
};
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
propagatedBuildInputs = [ dateutil ipython_genutils decorator pyzmq ipython jupyter_client ipykernel tornado
|
|
] ++ lib.optionals (!isPy3k) [ futures ];
|
|
|
|
# Requires access to cluster
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Interactive Parallel Computing with IPython";
|
|
homepage = http://ipython.org/;
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
} |