2020-05-16 22:14:06 +02:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2021-01-25 09:26:54 +01:00
|
|
|
|
2020-05-16 22:14:06 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pkger";
|
2020-09-26 10:49:06 +02:00
|
|
|
version = "0.17.1";
|
2020-05-16 22:14:06 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markbates";
|
|
|
|
repo = "pkger";
|
|
|
|
rev = "v${version}";
|
2020-09-26 10:49:06 +02:00
|
|
|
sha256 = "12zcvsd6bv581wwhahp1wy903495s51lw86b99cfihwmxc5qw6ww";
|
2020-05-16 22:14:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "1b9gpym6kb4hpdbrixphfh1qylmqr265jrmcd4vxb87ahvrsrvgp";
|
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-05-16 22:14:06 +02:00
|
|
|
description = "Embed static files in Go binaries (replacement for gobuffalo/packr) ";
|
|
|
|
homepage = "https://github.com/markbates/pkger";
|
2020-06-06 18:58:24 +02:00
|
|
|
changelog = "https://github.com/markbates/pkger/releases/tag/v${version}";
|
2020-05-16 22:14:06 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ flokli ];
|
|
|
|
};
|
|
|
|
}
|