python312Packages.publicsuffixlist: 1.0.2.20241207 -> 1.0.2.20241213 (#365192)
[NixPkgs.git] / pkgs / applications / audio / deadbeef / plugins / musical-spectrum.nix
blobf60351ad11fac258ed9cda039e2087f51897c1a1
2   deadbeef,
3   fetchFromGitHub,
4   fftw,
5   glib,
6   gtk3,
7   lib,
8   pkg-config,
9   stdenv,
12 stdenv.mkDerivation rec {
13   pname = "deadbeef-musical-spectrum-plugin";
14   version = "unstable-2020-07-01";
16   src = fetchFromGitHub {
17     owner = "cboxdoerfer";
18     repo = "ddb_musical_spectrum";
19     rev = "a97fd4e1168509911ab43ba32d815b5489000a06";
20     sha256 = "0p33wyqi27y0q1mvjv5nn6l3vvqlg6b8yd6k2l07bax670bl0q3g";
21   };
23   nativeBuildInputs = [ pkg-config ];
24   buildInputs = [
25     deadbeef
26     fftw
27     glib
28     gtk3
29   ];
30   makeFlags = [ "gtk3" ];
32   installPhase = ''
33     runHook preInstall
35     mkdir -p $out/lib/deadbeef
36     install -v -c -m 644 gtk3/ddb_vis_musical_spectrum_GTK3.so $out/lib/deadbeef/
38     runHook postInstall
39   '';
41   meta = with lib; {
42     description = "Musical spectrum plugin for the DeaDBeeF music player";
43     homepage = "https://github.com/cboxdoerfer/ddb_musical_spectrum";
44     license = licenses.gpl2Plus;
45     platforms = platforms.linux;
46     maintainers = [ maintainers.ddelabru ];
47   };