about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/spek/default.nix
blob: 88b22c59ae508ab535d5ca0a1a617ee048e94e7a (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
{ stdenv, fetchzip, autoconf, automake, intltool, pkgconfig, ffmpeg, wxGTK }:

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

  src = fetchzip {
    name = "${pname}-${version}-src";
    url = "https://github.com/alexkay/spek/archive/v${version}.tar.gz";
    sha256 = "0y4hlhswpqkqpsglrhg5xbfy1a6f9fvasgdf336vhwcjqsc3k2xv";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ autoconf automake intltool ffmpeg wxGTK ];

  preConfigure = ''
    ./autogen.sh
  '';

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