depot/third_party/nixpkgs/pkgs/development/python-modules/aioaseko/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

46 lines
906 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";
rev = "refs/tags/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 ];
};
}