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
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
alsa-lib,
|
|
libpulseaudio,
|
|
gtk2,
|
|
hicolor-icon-theme,
|
|
libsndfile,
|
|
fftw,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gwc";
|
|
version = "0.22-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AlisterH";
|
|
repo = "gwc";
|
|
rev = version;
|
|
sha256 = "sha256-hRwy++gZiW/olIIeiVTpdIjPLIHgvgVUGEaUX9tpFbY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
alsa-lib
|
|
libpulseaudio
|
|
gtk2
|
|
hicolor-icon-theme
|
|
libsndfile
|
|
fftw
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
"-Wno-error=implicit-function-declaration"
|
|
"-Wno-error=int-conversion"
|
|
"-Wno-error=incompatible-pointer-types"
|
|
];
|
|
|
|
enableParallelBuilding = false; # Fails to generate machine.h in time.
|
|
|
|
meta = {
|
|
description = "GUI application for removing noise (hiss, pops and clicks) from audio files";
|
|
homepage = "https://github.com/AlisterH/gwc/";
|
|
changelog = "https://github.com/AlisterH/gwc/blob/${version}/Changelog";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ magnetophon ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|