1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
buildGoModule,
fetchFromGitea,
lib,
...
}:
buildGoModule rec {
pname = "git-age";
version = "0.0.2";
src = fetchFromGitea {
domain = "git.jojodev.com";
owner = "jolheiser";
repo = "git-age";
rev = "v${version}";
sha256 = "sha256-qTXRtQUlwTy1nMxwZaQ2PFpkFCmL/nO0jQ/P4JNSIAE=";
};
vendorSha256 = "sha256-L/dm1AA4fMgkHnubvayZkw3YizZJYy6lnKdPbyuMGnc=";
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;
};
}
|