lol
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 intltool,
7 pkg-config,
8 ffmpeg,
9 wxGTK32,
10 gtk3,
11 wrapGAppsHook3,
12}:
13
14stdenv.mkDerivation (finalAttrs: {
15 pname = "spek";
16 version = "0.8.5";
17
18 src = fetchFromGitHub {
19 owner = "alexkay";
20 repo = "spek";
21 tag = "v${finalAttrs.version}";
22 hash = "sha256-VYt2so2k3Rk3sLSV1Tf1G2pESYiXygrKr9Koop8ChCg=";
23 };
24
25 patches = [
26 ./autoconf.patch
27 ];
28
29 nativeBuildInputs = [
30 autoreconfHook
31 intltool
32 pkg-config
33 wrapGAppsHook3
34 ];
35
36 buildInputs = [
37 ffmpeg
38 wxGTK32
39 gtk3
40 ];
41
42 meta = {
43 description = "Analyse your audio files by showing their spectrogram";
44 homepage = "http://spek.cc/";
45 license = lib.licenses.gpl3;
46 maintainers = with lib.maintainers; [ bjornfor ];
47 platforms = lib.platforms.all;
48 mainProgram = "spek";
49 };
50})