diff options
author | Naïm Favier <n@monade.li> | 2024-03-31 10:23:44 +0200 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2024-03-31 10:23:44 +0200 |
commit | 92514e4863088499459c02c99e83465d654d188b (patch) | |
tree | 84337a8387c705aa7545ace44e9eacb2bbc6b038 /pkgs/by-name/ma/maa-cli/package.nix | |
parent | 47ac0b2cc151c398636318e24ec6076bad37c58e (diff) | |
parent | 04e15baaadf09ff9043458d84459d51d94ea2501 (diff) |
Merge branch 'master' into haskell-updates
Diffstat (limited to 'pkgs/by-name/ma/maa-cli/package.nix')
-rw-r--r-- | pkgs/by-name/ma/maa-cli/package.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/by-name/ma/maa-cli/package.nix b/pkgs/by-name/ma/maa-cli/package.nix index 263fd085e1468..1877983825204 100644 --- a/pkgs/by-name/ma/maa-cli/package.nix +++ b/pkgs/by-name/ma/maa-cli/package.nix @@ -13,13 +13,13 @@ rustPlatform.buildRustPackage rec { pname = "maa-cli"; - version = "0.4.4"; + version = "0.4.5"; src = fetchFromGitHub { owner = "MaaAssistantArknights"; repo = "maa-cli"; rev = "v${version}"; - hash = "sha256-pAtv6gCLFKRwUQEF6kD2bCPGpQGzahsfq/tAnQjrZrw="; + hash = "sha256-LeEIbfDQ+GO3gNmdpWGTNkpbhSqLz4fYQ+MdcrcbDk0="; }; nativeBuildInputs = [ @@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec { buildNoDefaultFeatures = true; 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 # https://github.com/MaaAssistantArknights/maa-cli/issues/67 @@ -55,6 +55,10 @@ rustPlatform.buildRustPackage rec { --bash <($out/bin/maa complete bash) \ --fish <($out/bin/maa complete fish) \ --zsh <($out/bin/maa complete zsh) + + mkdir -p manpage + $out/bin/maa mangen --path manpage + installManPage manpage/* ''; meta = with lib; { |