1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 click,
6 pythonOlder,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "vsure";
12 version = "2.6.8";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-dz7Ud8sOIz/w9IiRgDZWDln65efgf6skNmECwg+MRw0=";
20 };
21
22 propagatedBuildInputs = [
23 click
24 requests
25 ];
26
27 # Project has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "verisure" ];
31
32 meta = with lib; {
33 description = "Python library for working with verisure devices";
34 mainProgram = "vsure";
35 homepage = "https://github.com/persandstrom/python-verisure";
36 changelog = "https://github.com/persandstrom/python-verisure#version-history";
37 license = with licenses; [ mit ];
38 maintainers = with maintainers; [ fab ];
39 };
40}