2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiohttp,
|
2024-09-26 11:04:55 +00:00
|
|
|
apischema,
|
2024-06-05 15:53:02 +00:00
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2024-09-26 11:04:55 +00:00
|
|
|
gql,
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2022-02-10 20:34:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aioaseko";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "1.0.0";
|
|
|
|
pyproject = true;
|
2022-02-10 20:34:41 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
disabled = pythonOlder "3.10";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "milanmeu";
|
2024-09-26 11:04:55 +00:00
|
|
|
repo = "aioaseko";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-jUvpu/lOFKRUwEuYD1zRp0oODjf4AgH84fnGngtv9jw=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
build-system = [ setuptools ];
|
2022-09-30 11:47:45 +00:00
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
dependencies = [
|
2022-02-10 20:34:41 +00:00
|
|
|
aiohttp
|
2024-09-26 11:04:55 +00:00
|
|
|
apischema
|
|
|
|
gql
|
2022-02-10 20:34:41 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "aioaseko" ];
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Module to interact with the Aseko Pool Live API";
|
|
|
|
homepage = "https://github.com/milanmeu/aioaseko";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/milanmeu/aioaseko/releases/tag/v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2022-02-10 20:34:41 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|