1{ lib
2, requests
3, buildPythonPackage
4, fetchFromGitHub
5}:
6
7buildPythonPackage rec {
8 pname = "aladdin-connect";
9 version = "0.4";
10
11 src = fetchFromGitHub {
12 owner = "shoejosh";
13 repo = pname;
14 rev = version;
15 sha256 = "sha256-kLvMpSGa5WyDOH3ejAJyFGsB9IiMXp+nvVxM/ZkxyFw=";
16 };
17
18 propagatedBuildInputs = [
19 requests
20 ];
21
22 # Project has no tests
23 doCheck = false;
24
25 pythonImportsCheck = [ "aladdin_connect" ];
26
27 meta = with lib; {
28 description = "Python library for interacting with Genie Aladdin Connect devices";
29 homepage = "https://github.com/shoejosh/aladdin-connect";
30 license = with licenses; [ mit ];
31 maintainers = with maintainers; [ fab ];
32 };
33}