1{ lib
2, buildPythonPackage
3, colorlog
4, pyyaml
5, fetchPypi
6, pythonOlder
7, requests
8}:
9
10buildPythonPackage rec {
11 pname = "lupupy";
12 version = "0.3.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-mij5WGIl60D7ya1SdIvZ8TEgIZhJ9Xd2kcUnnbO1dD4=";
20 };
21
22 propagatedBuildInputs = [
23 colorlog
24 pyyaml
25 requests
26 ];
27
28 # Project has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "lupupy"
33 ];
34
35 meta = with lib; {
36 description = "Python module to control Lupusec alarm control panels";
37 homepage = "https://github.com/majuss/lupupy";
38 changelog = "https://github.com/majuss/lupupy/releases/tag/v${version}";
39 license = with licenses; [ mit ];
40 maintainers = with maintainers; [ fab ];
41 };
42}