depot/third_party/nixpkgs/pkgs/applications/audio/lingot/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

45 lines
894 B
Nix

{ stdenv
, fetchurl
, pkg-config
, intltool
, gtk3
, wrapGAppsHook
, alsaLib
, libjack2
, libpulseaudio
, fftw
, 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
];
buildInputs = [
gtk3
alsaLib
libpulseaudio
fftw
] ++ stdenv.lib.optional jackSupport libjack2;
configureFlags = stdenv.lib.optional (!jackSupport) "--disable-jack";
meta = {
description = "Not a Guitar-Only tuner";
homepage = "https://www.nongnu.org/lingot/";
license = stdenv.lib.licenses.gpl2Plus;
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [ viric ];
};
}