-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ahoy: update meta ahoy: add passthru script
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
lib, | ||
fetchFromGitHub, | ||
buildGoModule, | ||
nix-update-script, | ||
}: | ||
|
||
buildGoModule rec { | ||
pname = "ahoy"; | ||
version = "2.2.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "ahoy-cli"; | ||
repo = "ahoy"; | ||
tag = "v${version}"; | ||
hash = "sha256-xwjfY9HudxVz3xEEyRPtWysbojtan56ABBL3KgG0J/8="; | ||
}; | ||
|
||
# vendor folder exists | ||
vendorHash = null; | ||
|
||
passthru = { | ||
updateScript = nix-update-script { }; | ||
}; | ||
|
||
meta = { | ||
description = "Create self-documenting cli programs from YAML files"; | ||
homepage = "https://github.com/ahoy-cli/ahoy"; | ||
changelog = "https://github.com/ahoy-cli/ahoy/releases/tag/v${version}"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ genga898 ]; | ||
mainProgram = "ahoy"; | ||
}; | ||
} |