about summary refs log tree commit diff
path: root/pkgs/applications/audio/gwc
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2020-08-17 18:00:10 +0200
committerGitHub <noreply@github.com>2020-08-17 16:00:10 +0000
commitd345b010f422dc72fa95f763c0f8ade6cefddf34 (patch)
treee657125c279b3f56650aa2e4b4fbc3f6c81a12f5 /pkgs/applications/audio/gwc
parentfabd80d93b09bcd9ef569b51b4c52b7d7fd6a2b9 (diff)
gwc: init at 0.22-4 (#88975)
Diffstat (limited to 'pkgs/applications/audio/gwc')
-rw-r--r--pkgs/applications/audio/gwc/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/audio/gwc/default.nix b/pkgs/applications/audio/gwc/default.nix
new file mode 100644
index 0000000000000..d9631ac45e6b0
--- /dev/null
+++ b/pkgs/applications/audio/gwc/default.nix
@@ -0,0 +1,47 @@
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+, alsaLib
+, libpulseaudio
+, gtk2
+, hicolor-icon-theme
+, libsndfile
+, fftw
+}:
+
+stdenv.mkDerivation rec {
+  pname = "gwc";
+  version = "0.22-04";
+
+  src = fetchFromGitHub {
+    owner = "AlisterH";
+    repo = pname;
+    rev = version;
+    sha256 = "0xvfra32dchnnyf9kj5s5xmqhln8jdrc9f0040hjr2dsb58y206p";
+  };
+
+  nativeBuildInputs = [
+    autoreconfHook
+    pkg-config
+  ];
+
+  buildInputs = [
+    alsaLib
+    libpulseaudio
+    gtk2
+    hicolor-icon-theme
+    libsndfile
+    fftw
+  ];
+
+  enableParallelBuilding = false; # Fails to generate machine.h in time.
+
+  meta = with stdenv.lib; {
+    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;
+  };
+}