nixpkgs/pkgs/applications/misc/zktree/default.nix
2024-02-11 03:19:15 +01:00

27 lines
655 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "zktree";
version = "0.0.1";
src = fetchFromGitHub {
owner = "alirezameskin";
repo = "zktree";
rev = version;
sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9";
};
cargoSha256 = "18v7agm39acnblc703278cn8py5971hm8p5kxmznpw119fjp36s5";
meta = with lib; {
description = "A small tool to display Znodes in Zookeeper in tree structure.";
homepage = "https://github.com/alirezameskin/zktree";
license = licenses.unlicense;
maintainers = with lib.maintainers; [ alirezameskin ];
mainProgram = "zktree";
};
}