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`.
21 lines
526 B
Nix
21 lines
526 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pbr, six, argparse }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stevedore";
|
|
version = "1.28.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [ pbr six argparse ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Manage dynamic plugins for Python applications";
|
|
homepage = https://pypi.python.org/pypi/stevedore;
|
|
license = licenses.asl20;
|
|
};
|
|
}
|