about summary refs log tree commit diff
path: root/pkgs/applications/audio/spek/default.nix
blob: 0ce5eb2cfab020d7d1dece706764a58bace424dc (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
{ lib, stdenv, fetchFromGitHub, autoreconfHook, intltool, pkg-config, ffmpeg_4, wxGTK32, gtk3, wrapGAppsHook }:

stdenv.mkDerivation rec {
  pname = "spek";
  version = "0.8.4";

  src = fetchFromGitHub {
    owner = "alexkay";
    repo = "spek";
    rev = "v${version}";
    sha256 = "sha256-JLQx5LlnVe1TT1KVO3/QSVRqYL+pAMCxoDWrnkUNmRU=";
  };

  nativeBuildInputs = [ autoreconfHook intltool pkg-config wrapGAppsHook ];

  buildInputs = [ ffmpeg_4 wxGTK32 gtk3 ];

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