nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildGoModule,
3 fetchFromGitHub,
4 lib,
5
6}:
7
8buildGoModule rec {
9 pname = "pkger";
10 version = "0.17.1";
11
12 src = fetchFromGitHub {
13 owner = "markbates";
14 repo = "pkger";
15 rev = "v${version}";
16 hash = "sha256-nBuOC+uVw+hYSssgTkPRJZEBkufhQgU5D6jsZZre7Is=";
17 };
18
19 vendorHash = "sha256-9+2s84bqoNU3aaxmWYzIuFKPA3Tw9phXu5Csaaq/L60=";
20
21 doCheck = false;
22
23 meta = {
24 description = "Embed static files in Go binaries (replacement for gobuffalo/packr)";
25 mainProgram = "pkger";
26 homepage = "https://github.com/markbates/pkger";
27 changelog = "https://github.com/markbates/pkger/releases/tag/v${version}";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ flokli ];
30 };
31}