diff --git a/pkgs/applications/audio/spek/default.nix b/pkgs/applications/audio/spek/default.nix new file mode 100644 index 000000000000..32aac686043c --- /dev/null +++ b/pkgs/applications/audio/spek/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchzip, autoconf, automake, intltool, pkgconfig, ffmpeg, wxGTK }: + +stdenv.mkDerivation rec { + name = "spek-${version}"; + version = "0.8.3"; + + src = fetchzip { + name = "${name}-src"; + url = "https://github.com/alexkay/spek/archive/v${version}.tar.gz"; + sha256 = "0y4hlhswpqkqpsglrhg5xbfy1a6f9fvasgdf336vhwcjqsc3k2xv"; + }; + + buildInputs = [ autoconf automake intltool pkgconfig 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bacf76edd8de..e5c544beb62e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11183,6 +11183,8 @@ let soxr = callPackage ../applications/misc/audio/soxr { }; + spek = callPackage ../applications/audio/spek { }; + spotify = callPackage ../applications/audio/spotify { inherit (gnome) GConf; libpng = libpng12;