1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5}:
6
7buildPythonPackage rec {
8 pname = "vsure";
9 version = "1.8.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-Zh83t7yjZU2NjOgCkqPUHbqvEyEWXGITRgr5d2fLtRI=";
14 };
15
16 propagatedBuildInputs = [ requests ];
17
18 # Project has no tests
19 doCheck = false;
20 pythonImportsCheck = [ "verisure" ];
21
22 meta = with lib; {
23 description = "Python library for working with verisure devices";
24 homepage = "https://github.com/persandstrom/python-verisure";
25 license = with licenses; [ mit ];
26 maintainers = with maintainers; [ fab ];
27 };
28}