Files
nixpkgs/pkgs/development/python-modules/fressnapftracker/default.nix
T
Jamie Magee 1bca5da79c python3Packages.fressnapftracker: init at 0.2.2
Asynchronous Python client for the Fressnapf Tracker GPS API.

https://github.com/eifinger/fressnapftracker
2026-02-22 12:45:16 -08:00

52 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
httpx,
pydantic,
pytest-asyncio,
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
respx,
}:
buildPythonPackage (finalAttrs: {
pname = "fressnapftracker";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "eifinger";
repo = "fressnapftracker";
tag = "v${finalAttrs.version}";
hash = "sha256-gJsE/1HnUXEDa5Y7eLtHexx+G00MGQDZJu3pui9OeMM=";
};
build-system = [ hatchling ];
dependencies = [
httpx
pydantic
];
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytest-mock
pytestCheckHook
respx
];
pythonImportsCheck = [ "fressnapftracker" ];
meta = {
description = "Asynchronous Python client for the Fressnapf Tracker GPS API";
homepage = "https://github.com/eifinger/fressnapftracker";
changelog = "https://github.com/eifinger/fressnapftracker/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.jamiemagee ];
};
})