Files
nixpkgs/pkgs/development/python-modules/airtouch5py/default.nix
2026-10-28 13:26:47 +00:00

53 lines
931 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
bitarray,
crc,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "airtouch5py";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "danzel";
repo = "airtouch5py";
tag = version;
hash = "sha256-genoMa9L6jMBDmC3Bq621hmAZMkjwjeKcZfdog2hQVY=";
};
build-system = [ poetry-core ];
pythonRelaxDeps = [
"bitarray"
"crc"
];
dependencies = [
bitarray
crc
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "airtouch5py" ];
meta = {
changelog = "https://github.com/danzel/airtouch5py/releases/tag/${src.tag}";
description = "Python client for the airtouch 5";
homepage = "https://github.com/danzel/airtouch5py";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jamiemagee ];
};
}