2023-04-12 12:48:02 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "go-bindata";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "4.0.2";
|
2020-06-02 18:00:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-02-13 14:23:35 +00:00
|
|
|
owner = "kevinburke";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-04-12 12:48:02 +00:00
|
|
|
hash = "sha256-3/1RqJrv1fsPKsZpurp2dHsMg8FJBcFlI/pwwCf5H6E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
vendorHash = null;
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
subPackages = [ "go-bindata" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2021-02-13 14:23:35 +00:00
|
|
|
homepage = "https://github.com/kevinburke/go-bindata";
|
|
|
|
changelog = "https://github.com/kevinburke/go-bindata/blob/v${version}/CHANGELOG.md";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Small utility which generates Go code from any file, useful for embedding binary data in a Go program";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "go-bindata";
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-06-02 18:00:15 +00:00
|
|
|
license = licenses.cc0;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|