nixpkgs/pkgs/by-name/pk/pkger/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
718 B
Nix
Raw Normal View History

2020-05-16 20:14:06 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
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
doCheck = false;
meta = with lib; {
description = "Embed static files in Go binaries (replacement for gobuffalo/packr)";
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 ];
};
}