mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +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`.
31 lines
625 B
Nix
31 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 ];
|
|
};
|
|
}
|