Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
896 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}