about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aladdin-connect/default.nix
blob: d25cdadc89a62ccb5b44318d93be31ccb8c9ca6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "aladdin-connect";
  version = "0.3";

  src = fetchFromGitHub {
    owner = "shoejosh";
    repo = pname;
    rev = version;
    sha256 = "0nimd1nw1haxn8s2207fcrmpjyfp6nx97n560l6hzqyqqmf2d1d1";
  };

  propagatedBuildInputs = [
    requests
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "aladdin_connect" ];

  meta = with lib; {
    description = "Python library for interacting with Genie Aladdin Connect devices";
    homepage = "https://github.com/shoejosh/aladdin-connect";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}