Merge pull request #169637 from wyndon/init-httm

httm: init at 0.9.0

Closes https://github.com/NixOS/nixpkgs/issues/170698
This commit is contained in:
Mario Rodas 2022-04-27 18:50:56 -05:00 committed by GitHub
commit d54f49cbd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -13563,6 +13563,13 @@
github = "wunderbrick";
githubId = 52174714;
};
wyndon = {
email = "72203260+wyndon@users.noreply.github.com";
matrix = "@wyndon:envs.net";
github = "wyndon";
githubId = 72203260;
name = "wyndon";
};
wyvie = {
email = "elijahrum@gmail.com";
github = "wyvie";

View File

@ -0,0 +1,32 @@
{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
rustPlatform.buildRustPackage rec {
pname = "httm";
version = "0.9.0";
src = fetchFromGitHub {
owner = "kimono-koans";
repo = pname;
rev = version;
sha256 = "sha256-uqzwS7+OQsPdMv3+fWdn3yVFJwtFZNd8kVWw//mQZj8=";
};
cargoSha256 = "sha256-EC3E5NawsDe+CU5WEu0G3FWVLuqW5nXOoUURN0iDPK0=";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installManPage httm.1
installShellCompletion --cmd httm \
--zsh scripts/httm-key-bindings.zsh
'';
meta = with lib; {
description = "Interactive, file-level ZFS Time Machine-like tool";
homepage = "https://github.com/kimono-koans/httm";
license = licenses.mpl20;
platforms = platforms.unix;
maintainers = with maintainers; [ wyndon ];
};
}

View File

@ -1134,6 +1134,8 @@ with pkgs;
headsetcontrol = callPackage ../tools/audio/headsetcontrol { };
httm = callPackage ../tools/filesystems/httm { };
ksnip = libsForQt5.callPackage ../tools/misc/ksnip { };
license-generator = callPackage ../tools/misc/license-generator { };