Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
1014 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
faker,
fetchFromGitHub,
pytest-aiohttp,
pytest-mock,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aiolookin";
version = "1.0.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ANMalko";
repo = "aiolookin";
tag = "v${version}";
hash = "sha256-G3/lUgV60CMLskUo83TlvLLIfJtu5DEz+94mdVI4OrI=";
};
propagatedBuildInputs = [ aiohttp ];
doCheck = false; # all tests are async and no async plugin is configured
nativeCheckInputs = [
faker
pytest-aiohttp
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "aiolookin" ];
meta = with lib; {
description = "Python client for interacting with LOOKin devices";
homepage = "https://github.com/ANMalko/aiolookin";
changelog = "https://github.com/ANMalko/aiolookin/blob/v${version}/CHANGELOG.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}