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