Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
54 lines
932 B
Nix
54 lines
932 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|