From 6e8d951274a56f2e64922a091e4e6a8d722bd894 Mon Sep 17 00:00:00 2001 From: IndeedNotJames Date: Sat, 8 Apr 2023 23:52:12 +0200 Subject: [PATCH] go-bindata: 3.24.0 -> 4.0.2 diff: https://github.com/kevinburke/go-bindata/compare/v3.24.0...v4.0.2 https://github.com/kevinburke/go-bindata/blob/2394b8291982849e5d021d3e2cee870ce63fe8a2/CHANGELOG.md The go modules patch is no longer needed as of v3.25.0 --- pkgs/development/tools/go-bindata/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkgs/development/tools/go-bindata/default.nix b/pkgs/development/tools/go-bindata/default.nix index 293f5c078ef9..e08cab6a0f95 100644 --- a/pkgs/development/tools/go-bindata/default.nix +++ b/pkgs/development/tools/go-bindata/default.nix @@ -1,26 +1,18 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "go-bindata"; - version = "3.24.0"; + version = "4.0.2"; src = fetchFromGitHub { owner = "kevinburke"; repo = pname; rev = "v${version}"; - hash = "sha256-dEfD5oV2nXLVg+a7PlB6LqhEBosG7eTptqKKDWcQAss="; + hash = "sha256-3/1RqJrv1fsPKsZpurp2dHsMg8FJBcFlI/pwwCf5H6E="; }; vendorHash = null; - patches = [ - # Add go modules support - (fetchpatch { - url = "https://github.com/kevinburke/go-bindata/commit/b5c6f880d411b9c24a8ae1c8b608ab80cb9aacb4.patch"; - hash = "sha256-dzzp5p+jdg09oo6jeSlms+MMMDWUXpsescj132MT6D8="; - }) - ]; - subPackages = [ "go-bindata" ]; ldflags = [ "-s" "-w" ];