mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 01:47:36 +00:00
tlrc: 1.7.1 -> 1.8.0
This commit is contained in:
parent
0b35753f01
commit
44c2bd88f4
@ -6,24 +6,24 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tlrc";
|
||||
version = "1.7.1";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tldr-pages";
|
||||
repo = "tlrc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Jdie9ESSbRV07SHjITfQPwDKTedHMbY01FdEMlNOr50=";
|
||||
hash = "sha256-wHAPlBNVhIytquEAUdrbxE4m0njVRPxxlYlwjqG9Zlw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-2OXyPtgdRGIIc7jIES9zhRpFiaodcEnaK88k+rUVSJo=";
|
||||
cargoHash = "sha256-BymyjSVNwS3HPNnZcaAu1xUssV2iXmECtpKXPdZpM3g=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage tldr.1
|
||||
|
||||
installShellCompletion \
|
||||
--name tldr --bash $releaseDir/build/tlrc-*/out/tldr.bash \
|
||||
installShellCompletion --name tldr \
|
||||
--bash $releaseDir/build/tlrc-*/out/tldr.bash \
|
||||
--zsh $releaseDir/build/tlrc-*/out/_tldr \
|
||||
--fish $releaseDir/build/tlrc-*/out/tldr.fish
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user