10 stdenv.mkDerivation (finalAttrs: {
12 version = "1.0.2-unstable-2023-11-28";
19 src = fetchFromSourcehut {
22 rev = "d277aed99eb48eef891b76916a61029989c41d2d";
23 hash = "sha256-4A01MAGkBSSzkyRw4omNbLoX8z+pHfoUO7/6QvEUu70=";
27 # Update for Hare 0.24.2.
29 url = "https://git.sr.ht/~autumnull/treecat/commit/53ad8126261051dd3b3493c34ae49f23db2c2d16.patch";
30 hash = "sha256-cF/lMZjg1hB93rBXcjecT5Rrzb2Y73u6DSW1WcP5Vek=";
40 env.PREFIX = builtins.placeholder "out";
45 description = "Serialize a directory to a tree diagram, and vice versa";
47 Treecat is an amalgamation of `tree(1)` and `cat(1)`, with the added
48 bonus that it can reconstruct its output back into the original filetree.
50 homepage = "https://sr.ht/~autumnull/treecat/";
51 license = lib.licenses.wtfpl;
52 maintainers = with lib.maintainers; [ onemoresuza ];
53 mainProgram = "treecat";
54 inherit (hareHook.meta) platforms badPlatforms;