summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenbeigh Stevens <denbeigh@denbeighstevens.com>2022-06-04 19:35:37 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-06-05 13:11:52 +0000
commit5ef70710e242c8da330d92f549b4b579d61aee65 (patch)
tree8e57f1298681b509cfa6ed40f95289d27e717ec8
parentMerge pull request #176388 from thiagokokada/remove-duplicate-meta.broken (diff)
downloadnixpkgs-origin/backport-176333-to-release-22.05.tar.gz
noisetorch: 0.11.5 -> 0.12.0origin/backport-176333-to-release-22.05
(cherry picked from commit 74ed89f2439f1ccc12da0517fe7a573a4143c9ed)
-rw-r--r--pkgs/applications/audio/noisetorch/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/applications/audio/noisetorch/default.nix b/pkgs/applications/audio/noisetorch/default.nix
index 067263032b0d..1015829709eb 100644
--- a/pkgs/applications/audio/noisetorch/default.nix
+++ b/pkgs/applications/audio/noisetorch/default.nix
@@ -2,20 +2,21 @@
buildGoModule rec {
pname = "NoiseTorch";
- version = "0.11.5";
+ version = "0.12.0";
src = fetchFromGitHub {
- owner = "lawl";
+ owner = "noisetorch";
repo = "NoiseTorch";
- rev = version;
- sha256 = "sha256-j/6XB3vA5LvTuCxmeB0HONqEDzYg210AWW/h3nCGOD8=";
+ rev = "v${version}";
+ sha256 = "sha256-A6cX1ck47/ZIn9cnV/Ow4CxVFfOX5J0K0Q+B70jCFdQ=";
+ fetchSubmodules = true;
};
vendorSha256 = null;
doCheck = false;
- ldflags = [ "-X main.version=${version}" "-X main.distribution=nix" ];
+ ldflags = [ "-X main.version=${version}" "-X main.distribution=nix" ];
subPackages = [ "." ];
@@ -34,9 +35,10 @@ buildGoModule rec {
meta = with lib; {
insecure = true;
- knownVulnerabilities = [ "https://github.com/lawl/NoiseTorch/releases/tag/0.11.6" ];
+ knownVulnerabilities =
+ lib.optional (lib.versionOlder version "0.12") "https://github.com/noisetorch/NoiseTorch/releases/tag/v0.12.0";
description = "Virtual microphone device with noise supression for PulseAudio";
- homepage = "https://github.com/lawl/NoiseTorch";
+ homepage = "https://github.com/noisetorch/NoiseTorch";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ panaeon lom ];