Skip to content

Commit

Permalink
conduktor-ctl: init at 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marnas committed Nov 25, 2024
1 parent 1f8d2f5 commit 5f2e00b
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/co/conduktor-ctl/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "conduktor-ctl";
version = "0.3.1";

src = fetchFromGitHub {
owner = "conduktor";
repo = "ctl";
rev = "refs/tags/v${version}";
hash = "sha256-1keo9nL+vC8jYSvKkEyj2ridhKyu7ekyTJTk0/7gTHY=";
};

vendorHash = "sha256-HoIRw72Rxonwozqqz8z+YtZDKIJ6k5pqjf/EQFkhDik=";

postInstall = ''
mv $out/bin/ctl $out/bin/conduktor
'';

meta = {
description = "CLI tool to interact with the Conduktor Console and Gateway";
mainProgram = "conduktor";
homepage = "https://github.com/conduktor/ctl";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
conduktorbot
marnas
];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}

0 comments on commit 5f2e00b

Please sign in to comment.