Files
nixpkgs/pkgs/development/python-modules/aioaseko/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

47 lines
894 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 = {
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 = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}