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