diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-06-11 13:55:38 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-06-11 13:55:38 +0200 |
commit | 4e652ceabaa4ec2d1ff6068ba175137305fd889d (patch) | |
tree | 22a03c2ebceee3f3997783cb0a7b7d8e8dca8c94 /pkgs | |
parent | 1c9534752ad01b56f1c8b794e9fda0d38f1b5212 (diff) |
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 = [ "." ]; |