about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/spek/default.nix
blob: d6918b192315305524464a944702bccd458f9c29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, autoreconfHook, intltool, pkgconfig, ffmpeg, wxGTK30-gtk3, wrapGAppsHook }:

stdenv.mkDerivation rec {
  pname = "spek";
  version = "unstable-2018-12-29";

  src = fetchFromGitHub {
    owner = "alexkay";
    repo = "spek";
    rev = "f071c2956176ad53c7c8059e5c00e694ded31ded";
    sha256 = "1l9gj9c1n92zlcjnyjyk211h83dk0idk644xnm5rs7q40p2zliy5";
  };

  # needed for autoreconfHook
  AUTOPOINT="intltoolize --automake --copy";

  nativeBuildInputs = [ autoreconfHook intltool pkgconfig wrapGAppsHook ];

  buildInputs = [ ffmpeg wxGTK30-gtk3 wxGTK30-gtk3.gtk ];

  meta = with stdenv.lib; {
    description = "Analyse your audio files by showing their spectrogram";
    homepage = "http://spek.cc/";
    license = licenses.gpl3;
    maintainers = with maintainers; [ bjornfor ];
    platforms = platforms.all;
  };
}