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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
886 B
Nix
Raw Normal View History

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