Merge pull request #271273 from acuteenvy/tlrc-v1.8.0
tlrc: 1.7.1 -> 1.8.0
This commit is contained in:
commit
db42bd108d
1 changed files with 5 additions and 5 deletions
|
@ -6,24 +6,24 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "tlrc";
|
pname = "tlrc";
|
||||||
version = "1.7.1";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tldr-pages";
|
owner = "tldr-pages";
|
||||||
repo = "tlrc";
|
repo = "tlrc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Jdie9ESSbRV07SHjITfQPwDKTedHMbY01FdEMlNOr50=";
|
hash = "sha256-wHAPlBNVhIytquEAUdrbxE4m0njVRPxxlYlwjqG9Zlw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-2OXyPtgdRGIIc7jIES9zhRpFiaodcEnaK88k+rUVSJo=";
|
cargoHash = "sha256-BymyjSVNwS3HPNnZcaAu1xUssV2iXmECtpKXPdZpM3g=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installManPage tldr.1
|
installManPage tldr.1
|
||||||
|
|
||||||
installShellCompletion \
|
installShellCompletion --name tldr \
|
||||||
--name tldr --bash $releaseDir/build/tlrc-*/out/tldr.bash \
|
--bash $releaseDir/build/tlrc-*/out/tldr.bash \
|
||||||
--zsh $releaseDir/build/tlrc-*/out/_tldr \
|
--zsh $releaseDir/build/tlrc-*/out/_tldr \
|
||||||
--fish $releaseDir/build/tlrc-*/out/tldr.fish
|
--fish $releaseDir/build/tlrc-*/out/tldr.fish
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue