Merge pull request #178292 from ddelabru/deadbeef-musical-spectrum
deadbeefPlugins.musical-spectrum: init at unstable-2020-07-01
This commit is contained in:
commit
d23b4c2f11
2 changed files with 43 additions and 0 deletions
|
@ -0,0 +1,42 @@
|
|||
{ deadbeef
|
||||
, fetchFromGitHub
|
||||
, fftw
|
||||
, glib
|
||||
, gtk3
|
||||
, lib
|
||||
, pkg-config
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deadbeef-musical-spectrum-plugin";
|
||||
version = "unstable-2020-07-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cboxdoerfer";
|
||||
repo = "ddb_musical_spectrum";
|
||||
rev = "a97fd4e1168509911ab43ba32d815b5489000a06";
|
||||
sha256 = "0p33wyqi27y0q1mvjv5nn6l3vvqlg6b8yd6k2l07bax670bl0q3g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ deadbeef fftw glib gtk3 ];
|
||||
makeFlags = [ "gtk3" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/deadbeef
|
||||
install -v -c -m 644 gtk3/ddb_vis_musical_spectrum_GTK3.so $out/lib/deadbeef/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Musical spectrum plugin for the DeaDBeeF music player";
|
||||
homepage = "https://github.com/cboxdoerfer/ddb_musical_spectrum";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.ddelabru ];
|
||||
};
|
||||
}
|
|
@ -26101,6 +26101,7 @@ with pkgs;
|
|||
headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { };
|
||||
lyricbar = callPackage ../applications/audio/deadbeef/plugins/lyricbar.nix { };
|
||||
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
|
||||
musical-spectrum = callPackage ../applications/audio/deadbeef/plugins/musical-spectrum.nix { };
|
||||
statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { };
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue