2020-05-29 06:06:01 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pkger";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "0.17.0";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markbates";
|
|
|
|
repo = "pkger";
|
|
|
|
rev = "v${version}";
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "195ba1avkpm9ssgakngv8j72k7yq2xna3xmm5m8l6c5g7lf91kkp";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "1b9gpym6kb4hpdbrixphfh1qylmqr265jrmcd4vxb87ahvrsrvgp";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Embed static files in Go binaries (replacement for gobuffalo/packr) ";
|
|
|
|
homepage = "https://github.com/markbates/pkger";
|
2020-06-18 07:06:33 +00:00
|
|
|
changelog = "https://github.com/markbates/pkger/releases/tag/v${version}";
|
2020-05-29 06:06:01 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ flokli ];
|
|
|
|
};
|
|
|
|
}
|