2023-08-03 21:31:27 +00:00
|
|
|
{
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitea,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "git-age";
|
2023-08-24 04:19:12 +00:00
|
|
|
version = "0.0.2";
|
2023-08-03 21:31:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "git.jojodev.com";
|
|
|
|
owner = "jolheiser";
|
|
|
|
repo = "git-age";
|
|
|
|
rev = "v${version}";
|
2023-08-24 04:19:12 +00:00
|
|
|
sha256 = "sha256-qTXRtQUlwTy1nMxwZaQ2PFpkFCmL/nO0jQ/P4JNSIAE=";
|
2023-08-03 21:31:27 +00:00
|
|
|
};
|
|
|
|
|
2023-08-24 04:19:12 +00:00
|
|
|
vendorSha256 = "sha256-L/dm1AA4fMgkHnubvayZkw3YizZJYy6lnKdPbyuMGnc=";
|
2023-08-03 21:31:27 +00:00
|
|
|
|
|
|
|
ldflags = ["-s" "-w" "-X=go.jolheiser.com/git-age/cmd.version=${version}"];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "git-crypt, but with age";
|
|
|
|
homepage = "https://git.jojodev.com/jolheiser/git-age";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|