mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
30 lines
713 B
Nix
30 lines
713 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, stdenv
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "pkger";
|
|
version = "0.17.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "markbates";
|
|
repo = "pkger";
|
|
rev = "v${version}";
|
|
sha256 = "12zcvsd6bv581wwhahp1wy903495s51lw86b99cfihwmxc5qw6ww";
|
|
};
|
|
|
|
vendorSha256 = "1b9gpym6kb4hpdbrixphfh1qylmqr265jrmcd4vxb87ahvrsrvgp";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Embed static files in Go binaries (replacement for gobuffalo/packr) ";
|
|
homepage = "https://github.com/markbates/pkger";
|
|
changelog = "https://github.com/markbates/pkger/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ flokli ];
|
|
};
|
|
}
|