diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-10-27 00:29:31 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-10-27 00:32:05 +0300 |
commit | 4f2859fd38a74cb264fea922efeebb11ba2fc36d (patch) | |
tree | d6bd7192ef591acbaa26a51a9e06be0d02b33d75 | |
parent | 20753def4b2099eaa1ef554b38a1d25ef89d5c7a (diff) |
beets{,-unstable}: support extraNativeBuildInputs
-rw-r--r-- | pkgs/tools/audio/beets/common.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/audio/beets/default.nix | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix index b47138d2415f0..37faff29c7284 100644 --- a/pkgs/tools/audio/beets/common.nix +++ b/pkgs/tools/audio/beets/common.nix @@ -27,6 +27,7 @@ , pluginOverrides ? { } , disableAllPlugins ? false , disabledTests ? [] +, extraNativeBuildInputs ? [] # tests , runCommand @@ -71,7 +72,7 @@ python3Packages.buildPythonApplication { nativeBuildInputs = [ gobject-introspection sphinxHook - ]; + ] ++ extraNativeBuildInputs; buildInputs = [ ] ++ (with gst_all_1; [ diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix index 0723a2764e8d0..c6b99978fe38a 100644 --- a/pkgs/tools/audio/beets/default.nix +++ b/pkgs/tools/audio/beets/default.nix @@ -2,6 +2,7 @@ , callPackage , fetchFromGitHub , fetchpatch +, python3Packages }: /* ** To customize the enabled beets plugins, use the pluginOverrides input to the @@ -20,6 +21,7 @@ lib.makeExtensible (self: { beets = self.beets-stable; beets-stable = callPackage ./common.nix rec { + inherit python3Packages; version = "1.6.0"; src = fetchFromGitHub { owner = "beetbox"; @@ -59,6 +61,7 @@ lib.makeExtensible (self: { beets-minimal = self.beets.override { disableAllPlugins = true; }; beets-unstable = callPackage ./common.nix { + inherit python3Packages; version = "unstable-2023-07-05"; src = fetchFromGitHub { owner = "beetbox"; |