From 4e652ceabaa4ec2d1ff6068ba175137305fd889d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Jun 2023 13:55:38 +0200 Subject: [PATCH] gosh: use release --- pkgs/tools/security/gosh/default.nix | 10 ++++------ 1 file 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 = [ "." ];