summary refs log tree commit diff
path: root/pkgs/tools/audio
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-10-27 00:29:31 +0300
committerDoron Behar <doron.behar@gmail.com>2023-10-27 00:32:05 +0300
commit4f2859fd38a74cb264fea922efeebb11ba2fc36d (patch)
treed6bd7192ef591acbaa26a51a9e06be0d02b33d75 /pkgs/tools/audio
parent20753def4b2099eaa1ef554b38a1d25ef89d5c7a (diff)
downloadnixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.tar
nixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.tar.gz
nixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.tar.bz2
nixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.tar.lz
nixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.tar.xz
nixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.tar.zst
nixpkgs-4f2859fd38a74cb264fea922efeebb11ba2fc36d.zip
beets{,-unstable}: support extraNativeBuildInputs
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r--pkgs/tools/audio/beets/common.nix3
-rw-r--r--pkgs/tools/audio/beets/default.nix3
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/audio/beets/common.nix b/pkgs/tools/audio/beets/common.nix
index b47138d2415..37faff29c72 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 0723a2764e8..c6b99978fe3 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";