mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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:
commit
d54f49cbd0
@ -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";
|
||||
|
32
pkgs/tools/filesystems/httm/default.nix
Normal file
32
pkgs/tools/filesystems/httm/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user