python2Packages.pytest-testmon: disable python2

```
  Processing ./pytest_testmon-1.0.2-py2-none-any.whl
  ERROR: Package 'pytest-testmon' requires a different Python: 2.7.18 not in '>=3.6'
```
This commit is contained in:
Jonathan Ringer 2020-08-15 15:56:27 -07:00
parent f9dadbac50
commit 7f6d634d04
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, coverage
, pytest
}:
@ -8,6 +9,7 @@
buildPythonPackage rec {
pname = "pytest-testmon";
version = "1.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;