2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-08-20 17:08:02 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
2021-06-28 23:13:55 +00:00
|
|
|
, alsa-lib
|
2020-08-20 17:08:02 +00:00
|
|
|
, libpulseaudio
|
|
|
|
, gtk2
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, libsndfile
|
|
|
|
, fftw
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gwc";
|
2021-06-06 07:54:09 +00:00
|
|
|
version = "0.22-05";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AlisterH";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-06-06 07:54:09 +00:00
|
|
|
sha256 = "sha256-FHKu5qAyRyMxXdWYTCeAc6Q4J+NOaU1SGgoTbe0PiFE=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib
|
2020-08-20 17:08:02 +00:00
|
|
|
libpulseaudio
|
|
|
|
gtk2
|
|
|
|
hicolor-icon-theme
|
|
|
|
libsndfile
|
|
|
|
fftw
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = false; # Fails to generate machine.h in time.
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "GUI application for removing noise (hiss, pops and clicks) from audio files";
|
|
|
|
homepage = "https://github.com/AlisterH/gwc/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|