blob: b024b42a6f1af06f66963626a41d62131f374c6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, stdenv
, fetchurl
, pkg-config
, intltool
, wrapGAppsHook3
, gtk3
, alsa-lib
, libpulseaudio
, fftw
, fftwFloat
, json_c
, libjack2
, jackSupport ? true
}:
stdenv.mkDerivation rec {
pname = "lingot";
version = "1.1.1";
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-xPl+SWo2ZscHhtE25vLMxeijgT6wjNo1ys1+sNFvTVY=";
};
nativeBuildInputs = [
pkg-config
intltool
wrapGAppsHook3
];
buildInputs = [
gtk3
alsa-lib
libpulseaudio
fftw
fftwFloat
json_c
] ++ lib.optional jackSupport libjack2;
configureFlags = lib.optional (!jackSupport) "--disable-jack";
meta = {
description = "Not a Guitar-Only tuner";
mainProgram = "lingot";
homepage = "https://www.nongnu.org/lingot/";
license = lib.licenses.gpl2Plus;
platforms = with lib.platforms; linux;
maintainers = [ ];
};
}
|