2021-06-20 15:03:49 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "agebox";
|
2021-10-15 09:34:11 +00:00
|
|
|
version = "0.6.1";
|
2021-06-20 15:03:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "slok";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-15 09:34:11 +00:00
|
|
|
sha256 = "1gi6lj3dpckhsx6hdpdnr8rclqgfkbdmkzx966nlxyi52bjfzbsv";
|
2021-06-20 15:03:49 +00:00
|
|
|
};
|
2021-09-13 11:17:05 +00:00
|
|
|
vendorSha256 = "1gw83bd14ig18y8si3f94iivx2ir1vw4b5b95fp6r7qhfp0rgbih";
|
2021-06-20 15:03:49 +00:00
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s" "-w"
|
|
|
|
"-X main.Version=${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/slok/agebox";
|
|
|
|
changelog = "https://github.com/slok/agebox/releases/tag/v${version}";
|
|
|
|
description = "Age based repository file encryption gitops tool";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ lesuisse ];
|
|
|
|
};
|
|
|
|
}
|