go-bindata: 3.24.0 -> 4.0.2

diff: https://github.com/kevinburke/go-bindata/compare/v3.24.0...v4.0.2
2394b82919/CHANGELOG.md

The go modules patch is no longer needed as of v3.25.0
This commit is contained in:
IndeedNotJames 2023-04-08 23:52:12 +02:00
parent 0e19daa510
commit 6e8d951274
No known key found for this signature in database
GPG key ID: 0AD773CE46FD0F87

View file

@ -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" ];