mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
48 lines
953 B
Nix
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 ];
|
|
};
|
|
})
|