2019-07-02 05:01:13 +01:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "packr";
|
2019-07-09 13:56:47 +01:00
|
|
|
version = "2.5.2";
|
2019-07-02 05:01:13 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gobuffalo";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-07-09 13:56:47 +01:00
|
|
|
sha256 = "1ciffa5xbd93fylwz93wr4m4fj83dcla55dmdshaqz28rbsapnc1";
|
2019-07-02 05:01:13 +01:00
|
|
|
};
|
|
|
|
|
2019-07-09 13:56:47 +01:00
|
|
|
modSha256 = "086gydrl3i35hawb5m7rsb4a0llcpdpgid1xfw2z9n6jkwkclw4n";
|
2019-07-02 05:01:13 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|