about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorDaniƫl de Kok <me@danieldk.eu>2020-07-21 11:22:21 +0200
committerGitHub <noreply@github.com>2020-07-21 11:22:21 +0200
commit55079328c219fb53f3120a34fdba3a80d3be601b (patch)
tree70036cd2203a93691474ae9905cffa1d6aa1df84 /pkgs/development
parent622150e8734ba1c4528c40fd965c9e9a97f9d57a (diff)
parenta28d5337b24d4ac76474d57b00809d0b302e4a92 (diff)
Merge pull request #93480 from PanAeon/master
noisetorch: init at 0.5.1-beta
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/rnnoise-plugin/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/rnnoise-plugin/default.nix b/pkgs/development/libraries/rnnoise-plugin/default.nix
new file mode 100644
index 0000000000000..efc8857e235e3
--- /dev/null
+++ b/pkgs/development/libraries/rnnoise-plugin/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, SDL2, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  pname = "rnnoise-plugin";
+  version = "0.9";
+
+  src = fetchFromGitHub {
+    owner = "werman";
+    repo = "noise-suppression-for-voice";
+    rev = "v${version}";
+    sha256 = "18bq5b50xw3d4r1ildinafpg3isb9y216430h4mm9wr3ir7h76a7";
+  };
+
+  buildInputs = [ cmake ];
+
+  cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
+
+  meta = with stdenv.lib; {
+    description = "A real-time noise suppression plugin for voice based on Xiph's RNNoise";
+    homepage = "https://github.com/werman/noise-suppression-for-voice";
+    license = licenses.gpl3;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ panaeon ];
+  };
+}