commit
2e7012e863
1275
pkgs/tools/filesystems/httm/Cargo.lock
generated
1275
pkgs/tools/filesystems/httm/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,29 +6,37 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "httm";
|
||||
version = "0.23.3";
|
||||
version = "0.38.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kimono-koans";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-yia7GEPemFVHzTkhrL7HejQsFO1zwpdUtq4DLdm4s2g=";
|
||||
hash = "sha256-aCWhjMXLNx5/wV1HFDtyUuUfpRAxDZhI/Bk7roqZkJ8=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"skim-0.10.2" = "sha256-5bDQZer4r9sNupIilY3afXbyFE1UB8kNsZIFOPmuyu4=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x scripts/*.bash
|
||||
patchShebangs scripts/*.bash
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage httm.1
|
||||
|
||||
installShellCompletion --cmd httm \
|
||||
--zsh scripts/httm-key-bindings.zsh
|
||||
|
||||
for script in scripts/*.bash; do
|
||||
install -Dm755 "$script" "$out/bin/$(basename "$script" .bash)"
|
||||
done
|
||||
|
||||
install -Dm644 README.md $out/share/doc/README.md
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user