depot/third_party/nixpkgs/pkgs/development/python-modules/yalesmartalarmclient/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

41 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}";
sha256 = "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 ];
};
}