{ lib , fetchFromGitHub , rustPlatform , installShellFiles }: rustPlatform.buildRustPackage rec { pname = "httm"; version = "0.11.6"; src = fetchFromGitHub { owner = "kimono-koans"; repo = pname; rev = version; sha256 = "5jeCENAas7i/eBySSBjwmdc3MEHVhWWH7/RZGS8g1Y4="; }; cargoSha256 = "x4qfi3Wm5r0HNqDgmJBXNvS1xQDU7MQ/H2+zNpHon+s="; nativeBuildInputs = [ installShellFiles ]; postInstall = '' installManPage httm.1 installShellCompletion --cmd httm \ --zsh scripts/httm-key-bindings.zsh ''; meta = with lib; { description = "Interactive, file-level Time Machine-like tool for ZFS/btrfs"; homepage = "https://github.com/kimono-koans/httm"; license = licenses.mpl20; platforms = platforms.unix; maintainers = with maintainers; [ wyndon ]; }; }