about summary refs log tree commit diff
path: root/pkgs/applications/audio/noisetorch
diff options
context:
space:
mode:
authorDenbeigh Stevens <denbeigh@denbeighstevens.com>2022-06-04 19:35:37 -0700
committerDenbeigh Stevens <denbeigh@denbeighstevens.com>2022-06-04 20:42:07 -0700
commit74ed89f2439f1ccc12da0517fe7a573a4143c9ed (patch)
tree2d26d751185cd4b7d1472d7117d9e212041ab1e1 /pkgs/applications/audio/noisetorch
parent8ea209dfe3a9981f8186f976fc9bfaa075ece2c6 (diff)
noisetorch: 0.11.5 -> 0.12.0
Diffstat (limited to 'pkgs/applications/audio/noisetorch')
-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 067263032b0df..1015829709ebd 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 ];