mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-10 18:58:14 +00:00
Diff: https://github.com/chemelli74/aiocomelit/compare/v2.0.4...v2.0.7 Changelog: https://github.com/chemelli74/aiocomelit/blob/v2.0.7/CHANGELOG.md
52 lines
1013 B
Nix
52 lines
1013 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
aioresponses,
|
|
anyio,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
pint,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
writableTmpDirAsHomeHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiocomelit";
|
|
version = "2.0.7";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chemelli74";
|
|
repo = "aiocomelit";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-T48aRtuF9eNrW5L97CGkjc2PCdRzbuGCvhdWCuqe7yk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
orjson
|
|
pint
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
anyio
|
|
pytestCheckHook
|
|
writableTmpDirAsHomeHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiocomelit" ];
|
|
|
|
meta = {
|
|
description = "Library to control Comelit Simplehome";
|
|
homepage = "https://github.com/chemelli74/aiocomelit";
|
|
changelog = "https://github.com/chemelli74/aiocomelit/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|