Merge pull request #178292 from ddelabru/deadbeef-musical-spectrum

deadbeefPlugins.musical-spectrum: init at unstable-2020-07-01
This commit is contained in:
Jan Tojnar 2022-06-28 14:41:11 +02:00 committed by GitHub
commit d23b4c2f11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -26101,6 +26101,7 @@ with pkgs;
headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { }; headerbar-gtk3 = callPackage ../applications/audio/deadbeef/plugins/headerbar-gtk3.nix { };
lyricbar = callPackage ../applications/audio/deadbeef/plugins/lyricbar.nix { }; lyricbar = callPackage ../applications/audio/deadbeef/plugins/lyricbar.nix { };
mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.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 { }; statusnotifier = callPackage ../applications/audio/deadbeef/plugins/statusnotifier.nix { };
}; };