2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 14:11:11 +00:00
|
|
|
|
2021-02-06 16:12:47 +00:00
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "go-bindata";
|
2022-09-08 12:31:26 +00:00
|
|
|
version = "3.24.0";
|
2020-05-29 01:46:47 +00:00
|
|
|
|
2021-02-06 16:12:47 +00:00
|
|
|
goPackagePath = "github.com/kevinburke/go-bindata";
|
2016-06-05 14:11:11 +00:00
|
|
|
|
2020-05-29 01:46:47 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-02-06 16:12:47 +00:00
|
|
|
owner = "kevinburke";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-08 12:31:26 +00:00
|
|
|
sha256 = "sha256-dEfD5oV2nXLVg+a7PlB6LqhEBosG7eTptqKKDWcQAss=";
|
2016-06-05 14:11:11 +00:00
|
|
|
};
|
|
|
|
|
2021-02-06 16:12:47 +00:00
|
|
|
subPackages = [ "go-bindata" ];
|
2016-06-05 14:11:11 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2021-02-06 16:12:47 +00:00
|
|
|
homepage = "https://github.com/kevinburke/go-bindata";
|
|
|
|
changelog = "https://github.com/kevinburke/go-bindata/blob/v${version}/CHANGELOG.md";
|
2016-06-05 14:11:11 +00:00
|
|
|
description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program";
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2020-05-29 01:46:47 +00:00
|
|
|
license = licenses.cc0;
|
2016-06-05 14:11:11 +00:00
|
|
|
};
|
|
|
|
}
|