nixpkgs/pkgs/development/python-modules/jug/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

30 lines
625 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, nose, numpy
, bottle, pyyaml, redis, six
, zlib }:
buildPythonPackage rec {
pname = "Jug";
version = "1.6.7";
buildInputs = [ nose numpy ];
propagatedBuildInputs = [
bottle
pyyaml
redis
six
zlib
];
src = fetchPypi {
inherit pname version;
sha256 = "a7faba838f3437163ae8459bff96e2c6ca1298312bdb9104c702685178d17269";
};
meta = with stdenv.lib; {
description = "A Task-Based Parallelization Framework";
license = licenses.mit;
homepage = https://jug.readthedocs.io/;
maintainers = with maintainers; [ luispedro ];
};
}