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