Files
nixpkgs/pkgs/development/python-modules/bosch-alarm-mode2/default.nix
T
2025-11-28 05:53:38 +00:00

38 lines
782 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
hatch-vcs,
hatchling,
lib,
}:
buildPythonPackage rec {
pname = "bosch-alarm-mode2";
version = "0.4.8";
pyproject = true;
src = fetchFromGitHub {
owner = "mag1024";
repo = "bosch-alarm-mode2";
tag = "v${version}";
hash = "sha256-UafhNafZ1qb/OYXSvMGaIzDxVGf4jVmdGyv4xrcU43g=";
};
build-system = [
hatch-vcs
hatchling
];
pythonImportsCheck = [ "bosch_alarm_mode2" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Async Python library for interacting with Bosch Alarm Panels supporting the 'Mode 2' API";
homepage = "https://github.com/mag1024/bosch-alarm-mode2";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}