python3Packages.bandcamp-async-api: init at 0.2.2 (#540088)

This commit is contained in:
Sandro
2026-07-12 19:04:37 +00:00
committed by GitHub
3 changed files with 53 additions and 2 deletions

View File

@@ -48,8 +48,10 @@
ps: with ps; [
aioaudiobookshelf
];
bandcamp = ps: [
]; # missing bandcamp-async-api
bandcamp =
ps: with ps; [
bandcamp-async-api
];
bbc_sounds =
ps: with ps; [
pytz

View File

@@ -0,0 +1,47 @@
{
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 ];
};
})

View File

@@ -2159,6 +2159,8 @@ self: super: with self; {
bandcamp-api = callPackage ../development/python-modules/bandcamp-api { };
bandcamp-async-api = callPackage ../development/python-modules/bandcamp-async-api { };
bandit = callPackage ../development/python-modules/bandit { };
bangla = callPackage ../development/python-modules/bangla { };