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'
```
This commit is contained in:
Jonathan Ringer 2020-08-14 23:07:48 -07:00 committed by Frederik Rietdijk
parent 02b6ff65d2
commit 0ec8a8ac9e

View File

@ -1,8 +1,9 @@
{ stdenv, buildPythonPackage, fetchPypi, pbr, setuptools, six }:
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, pbr, setuptools, six }:
buildPythonPackage rec {
pname = "stevedore";
version = "2.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;