Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
782 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ buildPythonPackage, fetchFromGitHub, hatch-vcs, hatchling, lib,}:
buildPythonPackage rec { pname = "bosch-alarm-mode2"; version = "0.4.6"; pyproject = true;
src = fetchFromGitHub { owner = "mag1024"; repo = "bosch-alarm-mode2"; tag = "v${version}"; hash = "sha256-oTGkEguN4EFJI5+UhqxKBN1x2Ppf9wQ0AeYbiLi1fhk="; };
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 ]; };}