3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/stevedore/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

22 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;
};
}