File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments