8ea6bde88d
This is a post 3.10 removal cleanup.
43 lines
882 B
Nix
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 ];
|
|
};
|
|
}
|