fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
40 lines
849 B
Nix
40 lines
849 B
Nix
{
|
|
lib,
|
|
backoff,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "yalesmartalarmclient";
|
|
version = "0.3.9";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "domwillcode";
|
|
repo = "yale-smart-alarm-client";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Zpj1lLaxiTaYpcj1R/ktuVldl/r19r7fzNKvnSIDq80=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
backoff
|
|
requests
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "yalesmartalarmclient" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python module to interface with Yale Smart Alarm Systems";
|
|
homepage = "https://github.com/domwillcode/yale-smart-alarm-client";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|