Skip to content

Commit

Permalink
ahoy: init at 2.2.0 (NixOS#366784)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Dec 24, 2024
2 parents a4afcec + 3328bbb commit cf56aed
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 cf56aed

Please sign in to comment.