6 ** To customize the enabled beets plugins, use the pluginOverrides input to the
10 ** Disabling a builtin plugin:
11 ** beets.override { pluginOverrides = { beatport.enable = false; }; }
13 ** Enabling an external plugin:
14 ** beets.override { pluginOverrides = {
15 ** alternatives = { enable = true; propagatedBuildInputs = [ beetsPackages.alternatives ]; };
18 lib.makeExtensible (self: {
19 beets = self.beets-stable;
21 beets-stable = callPackage ./common.nix rec {
23 src = fetchFromGitHub {
27 hash = "sha256-fT+rCJJQR7bdfAcmeFRaknmh4ZOP4RCx8MXpq7/D8tM=";
31 beets-minimal = self.beets.override { disableAllPlugins = true; };
33 beets-unstable = callPackage ./common.nix {
34 version = "unstable-2022-08-27";
35 src = fetchFromGitHub {
38 rev = "50bd693057de472470ab5175fae0cdb5b75811c6";
39 hash = "sha256-91v1StaByG60ryhQqByBXu6sFCjk0qT0nsUPnocSEE4=";
42 # unstable has a new plugin, so we register it here.
43 limit = { builtin = true; };
47 alternatives = callPackage ./plugins/alternatives.nix { beets = self.beets-minimal; };
48 copyartifacts = callPackage ./plugins/copyartifacts.nix { beets = self.beets-minimal; };
49 extrafiles = callPackage ./plugins/extrafiles.nix { beets = self.beets-minimal; };