httm: 0.23.3 -> 0.38.1
This commit is contained in:
parent
572af610f6
commit
9a031ecea7
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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "httm";
|
pname = "httm";
|
||||||
version = "0.23.3";
|
version = "0.38.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kimono-koans";
|
owner = "kimono-koans";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-yia7GEPemFVHzTkhrL7HejQsFO1zwpdUtq4DLdm4s2g=";
|
hash = "sha256-aCWhjMXLNx5/wV1HFDtyUuUfpRAxDZhI/Bk7roqZkJ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
|
||||||
"skim-0.10.2" = "sha256-5bDQZer4r9sNupIilY3afXbyFE1UB8kNsZIFOPmuyu4=";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x scripts/*.bash
|
||||||
|
patchShebangs scripts/*.bash
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage httm.1
|
installManPage httm.1
|
||||||
|
|
||||||
installShellCompletion --cmd httm \
|
installShellCompletion --cmd httm \
|
||||||
--zsh scripts/httm-key-bindings.zsh
|
--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; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user