depot/third_party/nixpkgs/pkgs/development/python-modules/yalesmartalarmclient/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

40 lines
956 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "yalesmartalarmclient";
version = "0.4.3";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "domwillcode";
repo = "yale-smart-alarm-client";
rev = "refs/tags/v${version}";
hash = "sha256-a0rzPEixJXLBfN+kJRPYiJiHY1BKxg/mM14RO3RiVdA=";
};
build-system = [ poetry-core ];
dependencies = [ 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";
changelog = "https://github.com/domwillcode/yale-smart-alarm-client/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}