1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "go-bindata";
5 version = "4.0.2";
6
7 src = fetchFromGitHub {
8 owner = "kevinburke";
9 repo = pname;
10 rev = "v${version}";
11 hash = "sha256-3/1RqJrv1fsPKsZpurp2dHsMg8FJBcFlI/pwwCf5H6E=";
12 };
13
14 vendorHash = null;
15
16 subPackages = [ "go-bindata" ];
17
18 ldflags = [ "-s" "-w" ];
19
20 meta = with lib; {
21 homepage = "https://github.com/kevinburke/go-bindata";
22 changelog = "https://github.com/kevinburke/go-bindata/blob/v${version}/CHANGELOG.md";
23 description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
24 maintainers = with maintainers; [ cstrahan ];
25 license = licenses.cc0;
26 };
27}