2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 15:11:11 +01:00
|
|
|
|
2021-02-06 16:12:47 +00:00
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "go-bindata";
|
2021-02-06 16:12:47 +00:00
|
|
|
version = "3.22.0";
|
2020-05-29 02:46:47 +01:00
|
|
|
|
2021-02-06 16:12:47 +00:00
|
|
|
goPackagePath = "github.com/kevinburke/go-bindata";
|
2016-06-05 15:11:11 +01:00
|
|
|
|
2020-05-29 02:46:47 +01:00
|
|
|
src = fetchFromGitHub {
|
2021-02-06 16:12:47 +00:00
|
|
|
owner = "kevinburke";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "10dq77dml5jvvq2jkdq81a9yjg7rncq8iw8r84cc3dz6l9hxzj0x";
|
2016-06-05 15:11:11 +01:00
|
|
|
};
|
|
|
|
|
2021-02-06 16:12:47 +00:00
|
|
|
subPackages = [ "go-bindata" ];
|
2016-06-05 15:11:11 +01: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 15:11:11 +01: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 02:46:47 +01:00
|
|
|
license = licenses.cc0;
|
2016-06-05 15:11:11 +01:00
|
|
|
};
|
|
|
|
}
|