2020-05-16 20:14:06 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2021-01-25 08:26:54 +00:00
|
|
|
|
2020-05-16 20:14:06 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "pkger";
|
2020-09-26 08:49:06 +00:00
|
|
|
version = "0.17.1";
|
2020-05-16 20:14:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "markbates";
|
|
|
|
repo = "pkger";
|
|
|
|
rev = "v${version}";
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-nBuOC+uVw+hYSssgTkPRJZEBkufhQgU5D6jsZZre7Is=";
|
2020-05-16 20:14:06 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-9+2s84bqoNU3aaxmWYzIuFKPA3Tw9phXu5Csaaq/L60=";
|
2020-05-16 20:14:06 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2024-07-26 00:18:51 +00:00
|
|
|
description = "Embed static files in Go binaries (replacement for gobuffalo/packr)";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "pkger";
|
2020-05-16 20:14:06 +00:00
|
|
|
homepage = "https://github.com/markbates/pkger";
|
2020-06-06 16:58:24 +00:00
|
|
|
changelog = "https://github.com/markbates/pkger/releases/tag/v${version}";
|
2020-05-16 20:14:06 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ flokli ];
|
|
|
|
};
|
|
|
|
}
|