2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, intltool, pkg-config, ffmpeg, wxGTK30-gtk3, wrapGAppsHook }:
|
2015-01-24 20:11:31 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "spek";
|
2020-06-15 05:02:19 +02:00
|
|
|
version = "unstable-2018-12-29";
|
2015-01-24 20:11:31 +01:00
|
|
|
|
2020-06-15 05:02:19 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alexkay";
|
|
|
|
repo = "spek";
|
|
|
|
rev = "f071c2956176ad53c7c8059e5c00e694ded31ded";
|
|
|
|
sha256 = "1l9gj9c1n92zlcjnyjyk211h83dk0idk644xnm5rs7q40p2zliy5";
|
2015-01-24 20:11:31 +01:00
|
|
|
};
|
|
|
|
|
2020-06-15 05:02:19 +02:00
|
|
|
# needed for autoreconfHook
|
|
|
|
AUTOPOINT="intltoolize --automake --copy";
|
2015-01-24 20:11:31 +01:00
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook intltool pkg-config wrapGAppsHook ];
|
2020-06-15 05:02:19 +02:00
|
|
|
|
|
|
|
buildInputs = [ ffmpeg wxGTK30-gtk3 wxGTK30-gtk3.gtk ];
|
2015-01-24 20:11:31 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-01-24 20:11:31 +01:00
|
|
|
description = "Analyse your audio files by showing their spectrogram";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://spek.cc/";
|
2015-01-24 20:11:31 +01:00
|
|
|
license = licenses.gpl3;
|
2020-06-15 05:02:19 +02:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
2015-01-24 20:11:31 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|