@@ -1,27 +1,28 @@
1−{ stdenv, fetchzip, autoconf, automake, intltool, pkgconfig, ffmpeg, wxGTK }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, intltool, pkgconfig, ffmpeg, wxGTK30-gtk3, wrapGAppsHook }:
22
33stdenv.mkDerivation rec {
44 pname = "spek";
5− version = "0.8.3";
5+ version = "unstable-2018-12-29";
66
7− src = fetchzip {
8− name = "${pname}-${version}-src";
9− url = "https://github.com/alexkay/spek/archive/v${version}.tar.gz";
10− sha256 = "0y4hlhswpqkqpsglrhg5xbfy1a6f9fvasgdf336vhwcjqsc3k2xv";
7+ src = fetchFromGitHub {
8+ owner = "alexkay";
9+ repo = "spek";
10+ rev = "f071c2956176ad53c7c8059e5c00e694ded31ded";
11+ sha256 = "1l9gj9c1n92zlcjnyjyk211h83dk0idk644xnm5rs7q40p2zliy5";
1112 };
1213
13− nativeBuildInputs = [ pkgconfig ];
14− buildInputs = [ autoconf automake intltool ffmpeg wxGTK ];
14+ # needed for autoreconfHook
15+ AUTOPOINT="intltoolize --automake --copy";
1516
16− preConfigure = ''
17− ./autogen.sh
18− '';
17+ nativeBuildInputs = [ autoreconfHook intltool pkgconfig wrapGAppsHook ];
18+
19+ buildInputs = [ ffmpeg wxGTK30-gtk3 wxGTK30-gtk3.gtk ];
1920
2021 meta = with stdenv.lib; {
2122 description = "Analyse your audio files by showing their spectrogram";
2223 homepage = "http://spek.cc/";
2324 license = licenses.gpl3;
25+ maintainers = with maintainers; [ bjornfor ];
2426 platforms = platforms.all;
25− maintainers = [ maintainers.bjornfor ];
2627 };
2728}