depot/third_party/nixpkgs/pkgs/applications/misc/zktree/default.nix

27 lines
652 B
Nix
Raw Normal View History

{ 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 = "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";
};
}