Files
2026-07-09 21:12:55 +02:00

48 lines
953 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
python-dotenv,
pytestCheckHook,
uv-build,
}:
buildPythonPackage (finalAttrs: {
pname = "bandcamp-async-api";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "ALERTua";
repo = "bandcamp_async_api";
tag = finalAttrs.version;
hash = "sha256-pL1V3xAcI48cgddf0tmE+djGI7sagGAI3w0Qu7/O8pI=";
};
build-system = [
uv-build
];
dependencies = [
aiohttp
];
pythonImportsCheck = [ "bandcamp_async_api" ];
nativeCheckInputs = [
pytest-asyncio
python-dotenv
pytestCheckHook
];
meta = {
description = "Modern, asynchronous Python client for the Bandcamp API";
homepage = "https://github.com/ALERTua/bandcamp_async_api";
# https://github.com/ALERTua/bandcamp_async_api/issues/34
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
})