forked from mirrors/nixpkgs
python3Packages.pyvlx: disable on older Python releases
This commit is contained in:
parent
002467e0d6
commit
c237991991
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue