git.iko.soy/typeable/nixpkgs
on master help sign in
spek: 0.8.3 -> unstable-2018-12-29

Build using the newly introduced wxGTK30-gtk3 in order to drop old gtk2 and ffmpeg dependencies.

commit78f5a644fe7b1c8cdcdef6e357fc0c9f44cb36f5 authorPeter Hoeg <peter@hoeg.com> dateMon 15 Jun 2020, 11:02 (6 years ago) parenta84278a
2 files changed+14−15
pkgs/applications/audio/spek/default.nix+13−12 pkgs/top-level/all-packages.nix+1−3
pkgs/applications/audio/spek/default.nix+13−12
@@ -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}
pkgs/top-level/all-packages.nix+1−3
@@ -22194,9 +22194,7 @@ in
2219422194
2219522195 soxr = callPackage ../applications/misc/audio/soxr { };
2219622196
22197− spek = callPackage ../applications/audio/spek {
22198− ffmpeg = ffmpeg_2;
22199− };
22197+ spek = callPackage ../applications/audio/spek { };
2220022198
2220122199 spotify = callPackage ../applications/audio/spotify {
2220222200 libgcrypt = libgcrypt_1_5;