nixpkgs/pkgs/development/python-modules/stevedore/default.nix
Jonathan Ringer 0ec8a8ac9e pythonPackages.stevedore: disable python 2
```
  Processing ./stevedore-2.0.1-py2-none-any.whl
  ERROR: Package 'stevedore' requires a different Python: 2.7.18 not in '>=3.6'
```
2020-08-15 09:20:15 +02:00

23 lines
576 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pbr, setuptools, six }:
buildPythonPackage rec {
pname = "stevedore";
version = "2.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "609912b87df5ad338ff8e44d13eaad4f4170a65b79ae9cb0aa5632598994a1b7";
};
doCheck = false;
propagatedBuildInputs = [ pbr setuptools six ];
meta = with stdenv.lib; {
description = "Manage dynamic plugins for Python applications";
homepage = "https://pypi.python.org/pypi/stevedore";
license = licenses.asl20;
};
}