maa-cli: 0.4.4 -> 0.4.5
This commit is contained in:
parent
e222c64593
commit
d061e281bf
1 changed files with 7 additions and 3 deletions
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "maa-cli";
|
pname = "maa-cli";
|
||||||
version = "0.4.4";
|
version = "0.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MaaAssistantArknights";
|
owner = "MaaAssistantArknights";
|
||||||
repo = "maa-cli";
|
repo = "maa-cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-pAtv6gCLFKRwUQEF6kD2bCPGpQGzahsfq/tAnQjrZrw=";
|
hash = "sha256-LeEIbfDQ+GO3gNmdpWGTNkpbhSqLz4fYQ+MdcrcbDk0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
buildNoDefaultFeatures = true;
|
buildNoDefaultFeatures = true;
|
||||||
buildFeatures = [ "git2" "core_installer" ];
|
buildFeatures = [ "git2" "core_installer" ];
|
||||||
|
|
||||||
cargoHash = "sha256-KjI/5vl7oKVtXYehGLgi9jcaO4Y/TceL498rCPGHMD0=";
|
cargoHash = "sha256-tkUJH7oFY5eZ5A7J+qzeyHlqOUnTipf6o+leZz7KOiQ=";
|
||||||
|
|
||||||
# maa-cli would only seach libMaaCore.so and resources in itself's path
|
# maa-cli would only seach libMaaCore.so and resources in itself's path
|
||||||
# https://github.com/MaaAssistantArknights/maa-cli/issues/67
|
# https://github.com/MaaAssistantArknights/maa-cli/issues/67
|
||||||
|
@ -55,6 +55,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
--bash <($out/bin/maa complete bash) \
|
--bash <($out/bin/maa complete bash) \
|
||||||
--fish <($out/bin/maa complete fish) \
|
--fish <($out/bin/maa complete fish) \
|
||||||
--zsh <($out/bin/maa complete zsh)
|
--zsh <($out/bin/maa complete zsh)
|
||||||
|
|
||||||
|
mkdir -p manpage
|
||||||
|
$out/bin/maa mangen --path manpage
|
||||||
|
installManPage manpage/*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue