mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-07 13:53:42 +00:00
Diff: https://github.com/kongo09/aioairctrl/compare/v0.2.6...v0.3.1 Changelog: https://github.com/kongo09/aioairctrl/releases/tag/v0.3.1
48 lines
932 B
Nix
48 lines
932 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
setuptools-scm,
|
|
aiocoap,
|
|
pycryptodomex,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioairctrl";
|
|
version = "0.3.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kongo09";
|
|
repo = "aioairctrl";
|
|
tag = "v${version}";
|
|
hash = "sha256-Ea5OMbpwDubhnpY5K0CVXZneEGtNWkqkQQ7JwVa/JNU=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
aiocoap
|
|
pycryptodomex
|
|
];
|
|
|
|
pythonImportsCheck = [ "aioairctrl" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/kongo09/aioairctrl/releases/tag/${src.tag}";
|
|
description = "Library for controlling Philips air purifiers (using encrypted CoAP)";
|
|
homepage = "https://github.com/kongo09/aioairctrl";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ justinas ];
|
|
};
|
|
}
|