nixpkgs-suyu/pkgs/applications/audio/lingot/default.nix

46 lines
866 B
Nix
Raw Normal View History

2021-01-15 14:21:58 +01:00
{ lib, stdenv
, fetchurl
, pkg-config
, intltool
, gtk3
, wrapGAppsHook
, alsa-lib
2020-09-01 17:41:19 +02:00
, libjack2
, libpulseaudio
, fftw
2020-09-01 17:41:19 +02:00
, jackSupport ? true
}:
stdenv.mkDerivation rec {
pname = "lingot";
version = "1.0.1";
src = fetchurl {
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
sha256 = "03x0qqb9iarjapvii3ja522vkxrqv1hwix6b1r53is48p5xwgf3i";
};
nativeBuildInputs = [
pkg-config
intltool
wrapGAppsHook
];
2016-02-12 16:44:45 +01:00
buildInputs = [
gtk3
alsa-lib
libpulseaudio
fftw
2021-01-15 14:21:58 +01:00
] ++ lib.optional jackSupport libjack2;
2021-01-15 14:21:58 +01:00
configureFlags = lib.optional (!jackSupport) "--disable-jack";
meta = {
description = "Not a Guitar-Only tuner";
homepage = "https://www.nongnu.org/lingot/";
2021-01-15 14:21:58 +01:00
license = lib.licenses.gpl2Plus;
platforms = with lib.platforms; linux;
maintainers = with lib.maintainers; [ viric ];
};
}