2020-05-29 06:06:01 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pkger";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "0.17.1";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markbates";
|
|
|
|
repo = "pkger";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-nBuOC+uVw+hYSssgTkPRJZEBkufhQgU5D6jsZZre7Is=";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-9+2s84bqoNU3aaxmWYzIuFKPA3Tw9phXu5Csaaq/L60=";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
description = "Embed static files in Go binaries (replacement for gobuffalo/packr) ";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pkger";
|
2020-05-29 06:06:01 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|