2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2020-08-17 18:00:10 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
2021-06-10 04:57:09 +02:00
|
|
|
, alsa-lib
|
2020-08-17 18:00:10 +02:00
|
|
|
, libpulseaudio
|
|
|
|
, gtk2
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, libsndfile
|
|
|
|
, fftw
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gwc";
|
2023-02-19 01:01:07 +01:00
|
|
|
version = "0.22-06";
|
2020-08-17 18:00:10 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AlisterH";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-02-19 01:01:07 +01:00
|
|
|
sha256 = "sha256-hRwy++gZiW/olIIeiVTpdIjPLIHgvgVUGEaUX9tpFbY=";
|
2020-08-17 18:00:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-06-10 04:57:09 +02:00
|
|
|
alsa-lib
|
2020-08-17 18:00:10 +02:00
|
|
|
libpulseaudio
|
|
|
|
gtk2
|
|
|
|
hicolor-icon-theme
|
|
|
|
libsndfile
|
|
|
|
fftw
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = false; # Fails to generate machine.h in time.
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-08-17 18:00:10 +02:00
|
|
|
description = "GUI application for removing noise (hiss, pops and clicks) from audio files";
|
|
|
|
homepage = "https://github.com/AlisterH/gwc/";
|
2023-02-19 10:33:33 +01:00
|
|
|
changelog = "https://github.com/AlisterH/gwc/blob/${version}/Changelog";
|
2020-08-17 18:00:10 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|