diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-06-11 18:20:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 18:20:14 +0200 |
commit | 85a04c0d34bae1208756a9319c0b1180a897bb57 (patch) | |
tree | 52b0339bf0877713acc87a3517c7c47fc423a7e9 /pkgs | |
parent | aceeceaf5bc9877547f0f7d718100ca674a2a84b (diff) | |
parent | 4e652ceabaa4ec2d1ff6068ba175137305fd889d (diff) |
Merge pull request #237185 from fabaff/gosh-release
gosh: use release
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/security/gosh/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/security/gosh/default.nix b/pkgs/tools/security/gosh/default.nix index a4c74f1a5636..41ef9fa1f540 100644 --- a/pkgs/tools/security/gosh/default.nix +++ b/pkgs/tools/security/gosh/default.nix @@ -5,18 +5,16 @@ buildGoModule rec { pname = "gosh"; - # https://github.com/redcode-labs/GoSH/issues/4 - version = "2020523-${lib.strings.substring 0 7 rev}"; - rev = "7ccb068279cded1121eacc5a962c14b2064a1859"; + version = "1.0.0"; src = fetchFromGitHub { owner = "redcode-labs"; repo = "GoSH"; - inherit rev; - sha256 = "143ig0lqnkpnydhl8gnfzhg613x4wc38ibdbikkqwfyijlr6sgzd"; + rev = "refs/tags/v${version}"; + hash = "sha256-h4WqaN2okAeaU/+0fs8zLYDtyQLuLkCDdGrkGz8rdhg="; }; - vendorSha256 = "sha256-ITz6nkhttG6bsIZLsp03rcbEBHUQ7pFl4H6FOHTXIU4="; + vendorHash = "sha256-ITz6nkhttG6bsIZLsp03rcbEBHUQ7pFl4H6FOHTXIU4="; subPackages = [ "." ]; |