Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

73 lines
1.2 KiB
Nix

{
lib,
beets,
buildPythonPackage,
fetchFromGitHub,
httpx,
packaging,
poetry-core,
pycountry,
pytest-cov-stub,
pytestCheckHook,
rich-tables,
filelock,
writableTmpDirAsHomeHook,
nix-update-script,
}:
let
version = "0.22.0";
in
buildPythonPackage {
pname = "beetcamp";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "snejus";
repo = "beetcamp";
tag = version;
hash = "sha256-5tcQtvYmXT213mZnzKz2kwE5K22rro++lRF65PjC5X0=";
};
patches = [
./remove-git-pytest-option.diff
];
build-system = [
poetry-core
];
dependencies = [
beets
httpx
packaging
pycountry
];
nativeCheckInputs = [
writableTmpDirAsHomeHook
pytestCheckHook
pytest-cov-stub
rich-tables
filelock
];
disabledTests = [
# AssertionError: assert ''
"test_get_html"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Bandcamp autotagger source for beets (http://beets.io)";
homepage = "https://github.com/snejus/beetcamp";
license = lib.licenses.gpl2Only;
maintainers = [
lib.maintainers._9999years
];
mainProgram = "beetcamp";
};
}