nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "zktree";
9 version = "0.0.1";
10
11 src = fetchFromGitHub {
12 owner = "alirezameskin";
13 repo = "zktree";
14 rev = version;
15 sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9";
16 };
17
18 cargoHash = "sha256-h6tDAcWOS1MikPMXiH0eQzkQIqVEC8rSsWbufGsh1CI=";
19
20 meta = {
21 description = "Small tool to display Znodes in Zookeeper in tree structure";
22 homepage = "https://github.com/alirezameskin/zktree";
23 license = lib.licenses.unlicense;
24 maintainers = with lib.maintainers; [ alirezameskin ];
25 mainProgram = "zktree";
26 };
27}