3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyvlx: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-01-20 13:52:49 +01:00 committed by Martin Weinelt
parent 002467e0d6
commit c237991991

View file

@ -2,12 +2,16 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pyyaml
}:
buildPythonPackage rec {
pname = "pyvlx";
version = "0.2.20";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Julius2342";
@ -16,11 +20,17 @@ buildPythonPackage rec {
sha256 = "1irjix9kr6qih84gii7k1a9c67n8133gpnmwfd09550jsqdmg006";
};
propagatedBuildInputs = [ pyyaml ];
propagatedBuildInputs = [
pyyaml
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "pyvlx" ];
pythonImportsCheck = [
"pyvlx"
];
meta = with lib; {
description = "Python client to work with Velux units";