2019-07-02 04:01:13 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
2020-03-27 07:33:21 +00:00
|
|
|
, lib
|
2021-01-25 08:26:54 +00:00
|
|
|
|
2020-04-29 00:16:20 +00:00
|
|
|
, symlinkJoin
|
2019-07-02 04:01:13 +00:00
|
|
|
}:
|
|
|
|
|
2020-04-29 00:16:20 +00:00
|
|
|
let p2 = buildGoModule rec {
|
|
|
|
pname = "packr2";
|
|
|
|
version = "2.8.0";
|
2019-07-02 04:01:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gobuffalo";
|
2020-04-29 00:16:20 +00:00
|
|
|
repo = "packr";
|
2019-07-02 04:01:13 +00:00
|
|
|
rev = "v${version}";
|
2020-04-29 00:16:20 +00:00
|
|
|
sha256 = "1x78yq2yg0r82h7a67078llni85gk9nbd2ismlbqgppap7fcpyai";
|
|
|
|
}+"/v2";
|
|
|
|
|
|
|
|
subPackages = [ "packr2" ];
|
|
|
|
|
2020-05-01 01:59:00 +00:00
|
|
|
vendorSha256 = "12yq121b0bn8z12091fyqhhz421kgx4z1nskrkvbxlhyc47bwyrp";
|
2020-04-29 00:16:20 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-29 00:16:20 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
p1 = buildGoModule rec {
|
|
|
|
pname = "packr1";
|
|
|
|
version = "2.8.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gobuffalo";
|
|
|
|
repo = "packr";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1x78yq2yg0r82h7a67078llni85gk9nbd2ismlbqgppap7fcpyai";
|
2019-07-02 04:01:13 +00:00
|
|
|
};
|
|
|
|
|
2020-04-29 00:16:20 +00:00
|
|
|
subPackages = [ "packr" ];
|
2019-09-16 22:17:36 +00:00
|
|
|
|
2020-05-01 01:59:00 +00:00
|
|
|
vendorSha256 = "0m3yj8ww4a16j56p8d8w0sdnyx0g2bkd8zg0l4d8vb72mvg5asga";
|
2019-07-02 04:01:13 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-02 04:01:13 +00:00
|
|
|
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 ];
|
|
|
|
};
|
2020-04-29 00:16:20 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
symlinkJoin{
|
|
|
|
name = "packr";
|
|
|
|
paths = [p1 p2];
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|