Files

58 lines
1.1 KiB
Nix

{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
deepdiff,
fetchFromGitHub,
poetry-core,
poetry-dynamic-versioning,
pycognito,
pyjwt,
pytest-aiohttp,
pytest-freezegun,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pylitterbot";
version = "2025.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "natekspencer";
repo = "pylitterbot";
tag = "v${version}";
hash = "sha256-Rr7QseViy6i13QbZVb8BxMWDsE9meG4NqT5B1Z+TZbc=";
};
build-system = [
poetry-core
poetry-dynamic-versioning
];
dependencies = [
aiohttp
deepdiff
pycognito
pyjwt
];
nativeCheckInputs = [
aioresponses
pytest-aiohttp
pytest-freezegun
pytestCheckHook
];
pythonImportsCheck = [ "pylitterbot" ];
meta = {
description = "Modulefor controlling a Litter-Robot";
homepage = "https://github.com/natekspencer/pylitterbot";
changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}