Skip to content

Commit

Permalink
ahoy: init at 2.2.0
Browse files Browse the repository at this point in the history
ahoy: update meta

ahoy: add passthru script
  • Loading branch information
genga898 committed Dec 24, 2024
1 parent ed7a9c3 commit 3328bbb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/ah/ahoy/package.nix
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";
};
}

0 comments on commit 3328bbb

Please sign in to comment.