about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/pkger/default.nix
blob: f2047c82f051953aa8890a81854f7382da8e9999 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ buildGoModule
, fetchFromGitHub
, lib

}:

buildGoModule rec {
  pname = "pkger";
  version = "0.17.1";

  src = fetchFromGitHub {
    owner = "markbates";
    repo = "pkger";
    rev = "v${version}";
    hash = "sha256-nBuOC+uVw+hYSssgTkPRJZEBkufhQgU5D6jsZZre7Is=";
  };

  vendorHash = "sha256-9+2s84bqoNU3aaxmWYzIuFKPA3Tw9phXu5Csaaq/L60=";

  doCheck = false;

  meta = with lib; {
    description = "Embed static files in Go binaries (replacement for gobuffalo/packr) ";
    mainProgram = "pkger";
    homepage = "https://github.com/markbates/pkger";
    changelog = "https://github.com/markbates/pkger/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ flokli ];
  };
}