python3Packages.python-vlc: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-01 10:13:19 +01:00 committed by GitHub
parent 7d34bb2077
commit 9a26d7cce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,11 +4,15 @@
, setuptools
, libvlc
, substituteAll
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-vlc";
version = "3.0.16120";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -27,9 +31,12 @@ buildPythonPackage rec {
setuptools
];
doCheck = false; # no tests
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "vlc" ];
pythonImportsCheck = [
"vlc"
];
meta = with lib; {
description = "Python bindings for VLC, the cross-platform multimedia player and framework";