Merge pull request #225345 from IndeedNotJames/go-bindata

go-bindata: 3.24.0 -> 4.0.2
This commit is contained in:
Nick Cao 2023-04-10 10:06:49 +08:00 committed by GitHub
commit 4f360a2944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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