From 750e2545166964a74f702f7b4d110ceb3fd8b347 Mon Sep 17 00:00:00 2001 From: Haylin Moore Date: Thu, 16 Jul 2026 22:52:29 -0700 Subject: [PATCH] bandcampsync: init at 0.8.0 Adds bandcampsync, a Python tool to automatically download purchases from bandcamp.com. --- pkgs/by-name/ba/bandcampsync/package.nix | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/ba/bandcampsync/package.nix diff --git a/pkgs/by-name/ba/bandcampsync/package.nix b/pkgs/by-name/ba/bandcampsync/package.nix new file mode 100644 index 000000000000..3a598bfd55bf --- /dev/null +++ b/pkgs/by-name/ba/bandcampsync/package.nix @@ -0,0 +1,38 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +python3.pkgs.buildPythonApplication (finalAttrs: { + pname = "bandcampsync"; + version = "0.8.0"; + pyproject = true; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "meeb"; + repo = "bandcampsync"; + tag = "v${finalAttrs.version}"; + hash = "sha256-j370Kn95CQuGjwOoFMXNNQZ5odlR/0uiw02hN/UVAb8="; + }; + + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ + beautifulsoup4 + curl-cffi + ]; + + pythonImportsCheck = [ "bandcampsync" ]; + + meta = { + description = "Download your Bandcamp purchases automatically"; + homepage = "https://github.com/meeb/bandcampsync"; + changelog = "https://github.com/meeb/bandcampsync/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.bsd3; + maintainers = [ lib.maintainers.haylin ]; + mainProgram = "bandcampsync"; + }; +})