nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, backoff
3, buildPythonPackage
4, fetchFromGitHub
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "yalesmartalarmclient";
10 version = "0.3.5";
11
12 src = fetchFromGitHub {
13 owner = "domwillcode";
14 repo = "yale-smart-alarm-client";
15 rev = "v${version}";
16 sha256 = "11i7vh61a5xfv32zm7rkigl010wzd6snag6sf7w38256j95nnb05";
17 };
18
19 propagatedBuildInputs = [
20 backoff
21 requests
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "yalesmartalarmclient" ];
28
29 meta = with lib; {
30 description = "Python module to interface with Yale Smart Alarm Systems";
31 homepage = "https://github.com/domwillcode/yale-smart-alarm-client";
32 license = with licenses; [ asl20 ];
33 maintainers = with maintainers; [ fab ];
34 };
35}