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.1";
src = fetchFromGitea {
domain = "git.jojodev.com";
owner = "jolheiser";
repo = "git-age";
rev = "v${version}";
sha256 = "sha256-cimuOXQcIPy3takizUKz/D0Ter1HvdNTGODpjbngo/A=";
};
vendorSha256 = "sha256-ZTpTOhtlKxux1gJGkCpVbkfgeLqF/UKdps0YGgVfeyo=";
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;
};
}
|