···22, callPackage
33, fetchFromGitHub
44, fetchpatch
55+, python3Packages
56}:
67/*
78** To customize the enabled beets plugins, use the pluginOverrides input to the
···2021 beets = self.beets-stable;
21222223 beets-stable = callPackage ./common.nix rec {
2424+ inherit python3Packages;
2325 version = "1.6.0";
2426 src = fetchFromGitHub {
2527 owner = "beetbox";
···4143 # https://github.com/beetbox/beets/pull/4839
4244 # The upstream patch does not apply on 1.6.0, as the related code has been refactored since
4345 ./patches/fix-embedart-imagick-7.1.1-12.patch
4646+ # Pillow 10 compatibility fix, a backport of
4747+ # https://github.com/beetbox/beets/pull/4868, which doesn't apply now
4848+ ./patches/fix-pillow10-compat.patch
4949+ ];
5050+ disabledTests = [
5151+ # This issue is present on this version alone, and can be removed on the
5252+ # next stable version version bump. Since this is fixed in branch master,
5353+ # we don't have a bug ticket open for this. As of writing, it also seems
5454+ # hard to find a patch that can be backported to v1.6.0 that would fix
5555+ # the failure, as the master branch has gone through too many changes
5656+ # now.
5757+ "test_get_single_item_by_path"
4458 ];
4559 };
46604761 beets-minimal = self.beets.override { disableAllPlugins = true; };
48624963 beets-unstable = callPackage ./common.nix {
5050- version = "unstable-2023-07-05";
6464+ inherit python3Packages;
6565+ version = "unstable-2023-10-26";
5166 src = fetchFromGitHub {
5267 owner = "beetbox";
5368 repo = "beets";
5454- rev = "9481402b3c20739ca0b879d19adbfca22ccd6a44";
5555- hash = "sha256-AKmozMNVchysoQcUWd90Ic6bQBKQgylVn0E3i85dGb8=";
6969+ rev = "6655760732100f5387fad2d2890c015ee5039981";
7070+ hash = "sha256-Nz9BHtacYpJMLmB3f9WFg6GvMa+BuUhiNbJ9cyannek=";
5671 };
5772 extraPatches = [
5873 # Bash completion fix for Nix
5974 ./patches/unstable-bash-completion-always-print.patch
6075 ];
6176 pluginOverrides = {
6262- # unstable has a new plugin, so we register it here.
7777+ # unstable has new plugins, so we register them here.
6378 limit = { builtin = true; };
7979+ substitute = { builtin = true; };
8080+ advancedrewrite = { builtin = true; };
8181+ autobpm = { builtin = true; };
6482 };
8383+ extraNativeBuildInputs = [
8484+ python3Packages.pydata-sphinx-theme
8585+ ];
6586 };
66876788 alternatives = callPackage ./plugins/alternatives.nix { beets = self.beets-minimal; };