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
28 lines
740 B
Nix
28 lines
740 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-bindata";
|
|
version = "4.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kevinburke";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-3/1RqJrv1fsPKsZpurp2dHsMg8FJBcFlI/pwwCf5H6E=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
subPackages = [ "go-bindata" ];
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/kevinburke/go-bindata";
|
|
changelog = "https://github.com/kevinburke/go-bindata/blob/v${version}/CHANGELOG.md";
|
|
description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
license = licenses.cc0;
|
|
};
|
|
}
|