From 488dd695092662c4cdeab089ae2407bbc5b13724 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 5 Apr 2023 21:05:38 -0400 Subject: [PATCH] argc: 0.15.1 -> 1.0.0 Diff: https://github.com/sigoden/argc/compare/v0.15.1...v1.0.0 Changelog: https://github.com/sigoden/argc/releases/tag/v1.0.0 --- pkgs/development/tools/argc/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/argc/default.nix b/pkgs/development/tools/argc/default.nix index ce1e569b56de..d8e7c0ffb748 100644 --- a/pkgs/development/tools/argc/default.nix +++ b/pkgs/development/tools/argc/default.nix @@ -2,21 +2,24 @@ rustPlatform.buildRustPackage rec { pname = "argc"; - version = "0.15.1"; + version = "1.0.0"; src = fetchFromGitHub { owner = "sigoden"; repo = pname; rev = "v${version}"; - sha256 = "sha256-hN8M12evYxqNSsQKm0oRf3/b7WUf8k8pWa+0vRHstv4="; + hash = "sha256-lZtAhsEfMzj8Irl7LQPzjBNiKKy8091p2XoB5wSPhKM="; }; - cargoSha256 = "sha256-JCFBA9LuNILJs4flzD/bGpv/R2vxMlA0aFTVdGKKs5I="; + cargoHash = "sha256-L0FX4RuJ5n76CCWVpGQryX7usXGBN55W9+y83s9JJug="; nativeBuildInputs = [ installShellFiles ]; postInstall = '' - installShellCompletion completions/argc.{bash,fish,zsh} + installShellCompletion --cmd argc \ + --bash <($out/bin/argc --argc-completions bash) \ + --fish <($out/bin/argc --argc-completions fish) \ + --zsh <($out/bin/argc --argc-completions zsh) ''; meta = with lib; {