77976348d2
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
27 lines
710 B
Nix
27 lines
710 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "agebox";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "slok";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1gi6lj3dpckhsx6hdpdnr8rclqgfkbdmkzx966nlxyi52bjfzbsv";
|
|
};
|
|
vendorSha256 = "1gw83bd14ig18y8si3f94iivx2ir1vw4b5b95fp6r7qhfp0rgbih";
|
|
|
|
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 ];
|
|
};
|
|
}
|