2019-07-02 04:01:13 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "packr";
|
2019-07-09 12:56:47 +00:00
|
|
|
version = "2.5.2";
|
2019-07-02 04:01:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gobuffalo";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-07-09 12:56:47 +00:00
|
|
|
sha256 = "1ciffa5xbd93fylwz93wr4m4fj83dcla55dmdshaqz28rbsapnc1";
|
2019-07-02 04:01:13 +00:00
|
|
|
};
|
|
|
|
|
2019-07-09 12:56:47 +00:00
|
|
|
modSha256 = "086gydrl3i35hawb5m7rsb4a0llcpdpgid1xfw2z9n6jkwkclw4n";
|
2019-07-02 04:01:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The simple and easy way to embed static files into Go binaries";
|
|
|
|
homepage = "https://github.com/gobuffalo/packr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmahut ];
|
|
|
|
};
|
|
|
|
}
|