Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8de49b53a2e5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b618df3225b5
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Nov 6, 2019

  1. Copy the full SHA
    e47df96 View commit details
  2. mumble: Add RNNoise support.

    Vastly improves suppression of background and typing noises.
    nh2 committed Nov 6, 2019
    Copy the full SHA
    02dc6ff View commit details

Commits on Nov 7, 2019

  1. Merge pull request #72870 from nh2/mumble-rnnoise

    Add RNNoise, use it in Mumble
    nh2 authored Nov 7, 2019
    Copy the full SHA
    b618df3 View commit details
Showing with 27 additions and 1 deletion.
  1. +2 −1 pkgs/applications/networking/mumble/default.nix
  2. +23 −0 pkgs/development/libraries/rnnoise/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
3 changes: 2 additions & 1 deletion pkgs/applications/networking/mumble/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig, qt5
, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
, alsaLib, python
, rnnoise
, jackSupport ? false, libjack2 ? null
, speechdSupport ? false, speechd ? null
, pulseSupport ? false, libpulseaudio ? null
@@ -73,7 +74,7 @@ let
type = "mumble";

nativeBuildInputs = [ qt5.qttools ];
buildInputs = [ libopus libsndfile speex qt5.qtsvg ]
buildInputs = [ libopus libsndfile speex qt5.qtsvg rnnoise ]
++ optional stdenv.isLinux alsaLib
++ optional jackSupport libjack2
++ optional speechdSupport speechd
23 changes: 23 additions & 0 deletions pkgs/development/libraries/rnnoise/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation (rec {
name = "rnnoise-${version}";
version = "0.0.1";

src = fetchFromGitHub {
owner = "xiph";
repo = "rnnoise";
rev = "91ef401f4c3536c6de999ac609262691ec888c4c";
sha256 = "1h2ibg67gfcwnpvkq1rx0sngf9lk9j8pqsmsmmk5hclvrr2lp3yb";
};

nativeBuildInputs = [ autoreconfHook ];

meta = with lib; {
homepage = https://people.xiph.org/~jm/demo/rnnoise/;
description = "Recurrent neural network for audio noise reduction.";
license = licenses.bsd3;
maintainers = [ maintainers.nh2 ];
platforms = platforms.all;
};
})
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -6001,6 +6001,8 @@ in

rng-tools = callPackage ../tools/security/rng-tools { };

rnnoise = callPackage ../development/libraries/rnnoise { };

rnv = callPackage ../tools/text/xml/rnv { };

rounded-mgenplus = callPackage ../data/fonts/rounded-mgenplus { };