depot/third_party/nixpkgs/pkgs/development/python-modules/yalesmartalarmclient/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

41 lines
847 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 ];
};
}