Files
nixpkgs/pkgs/development/python-modules/aiooncue/default.nix
T
Martin Weinelt 8ea6bde88d treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

43 lines
882 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "aiooncue";
version = "0.3.9";
pyproject = true;
src = fetchFromGitHub {
owner = "bdraco";
repo = "aiooncue";
tag = version;
hash = "sha256-0Cdt/rUsl4OMLUTSC8WJXEiwzrhyn7JJIcVE/55LlgU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"setuptools>=75.8.0"' ""
'';
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Tests are out-dated
doCheck = false;
pythonImportsCheck = [ "aiooncue" ];
meta = {
description = "Module to interact with the Kohler Oncue API";
homepage = "https://github.com/bdraco/aiooncue";
changelog = "https://github.com/bdraco/aiooncue/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}