8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
13 owner = "kimono-koans";
16 hash = "sha256-8oG40pxhWd2MRxUSzZ3lgcsC9M1W5yBUZ0t5tO3B86U=";
19 cargoHash = "sha256-KKvpI3U6/cByP5M2ZiNtVrYyh2Nqe9cee2ObKqRBEyg=";
21 nativeBuildInputs = [ installShellFiles ];
24 chmod +x scripts/*.bash
25 patchShebangs scripts/*.bash
31 installShellCompletion --cmd httm \
32 --zsh scripts/httm-key-bindings.zsh
34 for script in scripts/*.bash; do
35 install -Dm755 "$script" "$out/bin/$(basename "$script" .bash)"
38 install -Dm644 README.md $out/share/doc/README.md
42 description = "Interactive, file-level Time Machine-like tool for ZFS/btrfs";
43 homepage = "https://github.com/kimono-koans/httm";
44 changelog = "https://github.com/kimono-koans/httm/releases/tag/${version}";
45 license = licenses.mpl20;
46 maintainers = with maintainers; [ wyndon ];