Skip to content

Commit 3328bbb

Browse files
committed
ahoy: init at 2.2.0
ahoy: update meta ahoy: add passthru script
1 parent ed7a9c3 commit 3328bbb

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

pkgs/by-name/ah/ahoy/package.nix

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
buildGoModule,
5+
nix-update-script,
6+
}:
7+
8+
buildGoModule rec {
9+
pname = "ahoy";
10+
version = "2.2.0";
11+
12+
src = fetchFromGitHub {
13+
owner = "ahoy-cli";
14+
repo = "ahoy";
15+
tag = "v${version}";
16+
hash = "sha256-xwjfY9HudxVz3xEEyRPtWysbojtan56ABBL3KgG0J/8=";
17+
};
18+
19+
# vendor folder exists
20+
vendorHash = null;
21+
22+
passthru = {
23+
updateScript = nix-update-script { };
24+
};
25+
26+
meta = {
27+
description = "Create self-documenting cli programs from YAML files";
28+
homepage = "https://github.com/ahoy-cli/ahoy";
29+
changelog = "https://github.com/ahoy-cli/ahoy/releases/tag/v${version}";
30+
license = lib.licenses.mit;
31+
maintainers = with lib.maintainers; [ genga898 ];
32+
mainProgram = "ahoy";
33+
};
34+
}

0 commit comments

Comments
 (0)