2021-02-22 21:28:39 +00:00
|
|
|
{ lib
|
2021-05-28 09:39:13 +00:00
|
|
|
, backoff
|
2021-02-22 21:28:39 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "yalesmartalarmclient";
|
2021-05-28 09:39:13 +00:00
|
|
|
version = "0.3.4";
|
2021-02-22 21:28:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "domwillcode";
|
|
|
|
repo = "yale-smart-alarm-client";
|
|
|
|
rev = "v${version}";
|
2021-05-28 09:39:13 +00:00
|
|
|
sha256 = "sha256-waWi3QnH7xQZh5iYklISCvfAaBdH5k+Y10huZuTNlSc=";
|
2021-02-22 21:28:39 +00:00
|
|
|
};
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
backoff
|
|
|
|
requests
|
|
|
|
];
|
2021-02-22 21:28:39 +00:00
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "yalesmartalarmclient" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to interface with Yale Smart Alarm Systems";
|
2021-05-28 09:39:13 +00:00
|
|
|
homepage = "https://github.com/domwillcode/yale-smart-alarm-client";
|
2021-02-22 21:28:39 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|