summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2020-12-09 05:45:46 +0100
committerGitHub <noreply@github.com>2020-12-09 05:45:46 +0100
commita3289a62c48120341a9a730f3d4627b15eaaea97 (patch)
tree6ecf71b0d9144e3afff4d883f133571b354f88fb /pkgs/applications/misc
parentbc7013c3736e182dd3cfbd9600794fa2d2d0e2ba (diff)
parent609fd365cf0701ae6cce7eea46086de7ab47611a (diff)
Merge pull request #101468 from alirezameskin/master
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/zktree/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/misc/zktree/default.nix b/pkgs/applications/misc/zktree/default.nix
new file mode 100644
index 000000000000..fe7b42dcc94d
--- /dev/null
+++ b/pkgs/applications/misc/zktree/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "zktree";
+ version = "0.0.1";
+
+ src = fetchFromGitHub {
+ owner = "alirezameskin";
+ repo = "zktree";
+ rev = version;
+ sha256 = "11w86k1w5zryiq6bqr98pjhffd3l76377yz53qx0n76vc5374fk9";
+ };
+
+ cargoSha256 = "1d35jrxvhf7m04s1kh0yrfhy9j9i6qzwbw2mwapgsrcsr5vhxasn";
+
+ 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 ];
+ };
+}