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
47 lines
896 B
Nix
47 lines
896 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
apischema,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
gql,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioaseko";
|
|
version = "1.0.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "milanmeu";
|
|
repo = "aioaseko";
|
|
tag = "v${version}";
|
|
hash = "sha256-jUvpu/lOFKRUwEuYD1zRp0oODjf4AgH84fnGngtv9jw=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
apischema
|
|
gql
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aioaseko" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module to interact with the Aseko Pool Live API";
|
|
homepage = "https://github.com/milanmeu/aioaseko";
|
|
changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|