python2Packages.pyvcd: disable python2

```
  Processing ./pyvcd-0.2.3-py2.py3-none-any.whl
  ERROR: Package 'pyvcd' requires a different Python: 2.7.18 not in '>=3.6'
```
This commit is contained in:
Jonathan Ringer 2020-08-15 15:57:33 -07:00
parent 7f6d634d04
commit a627278e13
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
, setuptools_scm , setuptools_scm
, six , six
, pytest , pytest
@ -9,6 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
version = "0.2.3"; version = "0.2.3";
pname = "pyvcd"; pname = "pyvcd";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;