mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 23:21:27 +00:00
python3Packages.bandcamp-async-api: init at 0.2.2 (#540088)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user