3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyvlx/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
920 B
Nix
Raw Normal View History

{ stdenv
, lib
2021-01-14 20:31:32 +00:00
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
2021-01-14 20:31:32 +00:00
, pyyaml
}:
buildPythonPackage rec {
pname = "pyvlx";
version = "0.2.20";
format = "setuptools";
disabled = pythonOlder "3.7";
2021-01-14 20:31:32 +00:00
src = fetchFromGitHub {
owner = "Julius2342";
repo = pname;
rev = version;
sha256 = "1irjix9kr6qih84gii7k1a9c67n8133gpnmwfd09550jsqdmg006";
2021-01-14 20:31:32 +00:00
};
propagatedBuildInputs = [
pyyaml
];
2021-01-14 20:31:32 +00:00
checkInputs = [
pytestCheckHook
];
2021-01-14 20:31:32 +00:00
pythonImportsCheck = [
"pyvlx"
];
2021-01-14 20:31:32 +00:00
meta = with lib; {
broken = stdenv.isDarwin;
2021-01-14 20:31:32 +00:00
description = "Python client to work with Velux units";
longDescription = ''
PyVLX uses the Velux KLF 200 interface to control io-Homecontrol
devices, e.g. Velux Windows.
'';
homepage = "https://github.com/Julius2342/pyvlx";
license = with licenses; [ lgpl2Only ];
maintainers = with maintainers; [ fab ];
};
}