pythonPackages.av: disable for python2

Uses shlex commands which aren't present in python2
```
      from shlex import quote
  ImportError: cannot import name quote
```
This commit is contained in:
Jonathan Ringer 2020-06-16 13:32:05 -07:00
parent d5ca07e160
commit 8db288ee06

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, numpy , numpy
, ffmpeg_4 , ffmpeg_4
, pkgconfig , pkgconfig
@ -9,6 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "av"; pname = "av";
version = "8.0.2"; version = "8.0.2";
disabled = isPy27; # setup.py no longer compatible
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;