mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
9a624d10e3
Since theey is not active from at least six years. All the packages on this commit became orphans. --------------------------------------------------------------------------- There are files not covered by this commit, because they will be adopted soon. Namely: - pkgs/by-name/zs/zsync/package.nix - pkgs/games/bsdgames/default.nix - pkgs/misc/ghostscript/default.nix - pkgs/os-specific/linux/kernel/perf/default.nix - pkgs/tools/system/logrotate/default.nix
52 lines
914 B
Nix
52 lines
914 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 = [ ];
|
|
};
|
|
}
|