ahoy: init at 2.2.0 (#366784)
This commit is contained in:
commit
cf56aed31d
34
pkgs/by-name/ah/ahoy/package.nix
Normal file
34
pkgs/by-name/ah/ahoy/package.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user