From 2a1b1ea1d6b5645f85b0fbef8294c52f79e45776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 19 Feb 2023 04:28:30 +0100 Subject: [PATCH] noisetorch: 0.12.0 -> 0.12.2, remove meta.{insecure,knownVulnerabilities} those only affected the prebuild binaries which we are not using --- pkgs/applications/audio/noisetorch/default.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/audio/noisetorch/default.nix b/pkgs/applications/audio/noisetorch/default.nix index c305b9917617..51b565bc3e74 100644 --- a/pkgs/applications/audio/noisetorch/default.nix +++ b/pkgs/applications/audio/noisetorch/default.nix @@ -2,21 +2,21 @@ buildGoModule rec { pname = "NoiseTorch"; - version = "0.12.0"; + version = "0.12.2"; src = fetchFromGitHub { owner = "noisetorch"; repo = "NoiseTorch"; rev = "v${version}"; - sha256 = "sha256-A6cX1ck47/ZIn9cnV/Ow4CxVFfOX5J0K0Q+B70jCFdQ="; fetchSubmodules = true; + sha256 = "sha256-gOPSMPH99Upi/30OnAdwSb7SaMV0i/uHB051cclfz6A="; }; vendorHash = null; doCheck = false; - ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.distribution=nix" ]; + ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.distribution=nixpkgs" ]; subPackages = [ "." ]; @@ -32,9 +32,6 @@ buildGoModule rec { ''; meta = with lib; { - insecure = true; - 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/noisetorch/NoiseTorch"; license = licenses.gpl3Plus;