about summary refs log tree commit diff
path: root/pkgs/by-name/oc/octoscan/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/oc/octoscan/package.nix')
-rw-r--r--pkgs/by-name/oc/octoscan/package.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/by-name/oc/octoscan/package.nix b/pkgs/by-name/oc/octoscan/package.nix
index c3a6e4d50b96..1190e8831e8b 100644
--- a/pkgs/by-name/oc/octoscan/package.nix
+++ b/pkgs/by-name/oc/octoscan/package.nix
@@ -6,14 +6,13 @@
 
 buildGoModule rec {
   pname = "octoscan";
-  version = "0-unstable-2024-08-25";
+  version = "0.1.2";
 
   src = fetchFromGitHub {
     owner = "synacktiv";
     repo = "octoscan";
-    # https://github.com/synacktiv/octoscan/issues/7
-    rev = "69f0761fe4d31f7fe4050fde5fd807364155fde4";
-    hash = "sha256-2aCjqjBDXqGbu94o22JRpJ5nUv8U46JGRcrBJCINflQ=";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-v8KINZwVH/AqRKLaornIOu7VsmjbQ6CuejXgKaomWso=";
   };
 
   vendorHash = "sha256-9IT8qTFzn8otWGTBP7ODcT8iBckIJ/3+jkbF1dq6aDw=";
@@ -26,6 +25,7 @@ buildGoModule rec {
   meta = {
     description = "Static vulnerability scanner for GitHub action workflows";
     homepage = "https://github.com/synacktiv/octoscan";
+    changelog = "https://github.com/synacktiv/octoscan/releases/tag/v${version}";
     license = lib.licenses.gpl3Only;
     maintainers = with lib.maintainers; [ fab ];
     mainProgram = "octoscan";