beets{,-unstable}: support extraNativeBuildInputs

This commit is contained in:
Doron Behar 2023-10-27 00:29:31 +03:00
parent 20753def4b
commit 4f2859fd38
2 changed files with 5 additions and 1 deletions

View File

@ -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; [

View File

@ -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";