1{ lib
2, buildPythonPackage
3, fetchPypi
4, click
5, pythonOlder
6, requests
7}:
8
9buildPythonPackage rec {
10 pname = "vsure";
11 version = "2.6.7";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-/eVFa1BTFbvFTAt48Bv+bjsV7f2eVSuKARJQVxDqU9s=";
19 };
20
21 propagatedBuildInputs = [
22 click
23 requests
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [
30 "verisure"
31 ];
32
33 meta = with lib; {
34 description = "Python library for working with verisure devices";
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}