diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-01-10 16:14:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 16:14:22 +0100 |
commit | 42bb111451b88d23cf6361bf5c522985401b4f9b (patch) | |
tree | 57b832338ae49a8a19fa9a2db3bccc944dcef915 /pkgs/tools/misc/macchina | |
parent | 4c8cbd8e0f732e649ed0dd6ba39286a078f0581b (diff) |
macchina: update rev
Diffstat (limited to 'pkgs/tools/misc/macchina')
-rw-r--r-- | pkgs/tools/misc/macchina/default.nix | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/pkgs/tools/misc/macchina/default.nix b/pkgs/tools/misc/macchina/default.nix index 5295b002e5506..099bb35b58a7c 100644 --- a/pkgs/tools/misc/macchina/default.nix +++ b/pkgs/tools/misc/macchina/default.nix @@ -1,5 +1,11 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles -, libiconv, Foundation }: +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +, installShellFiles +, libiconv +, Foundation +}: rustPlatform.buildRustPackage rec { pname = "macchina"; @@ -8,14 +14,20 @@ rustPlatform.buildRustPackage rec { src = fetchFromGitHub { owner = "Macchina-CLI"; repo = pname; - rev = "v${version}"; - sha256 = "sha256-zbQOmlFWpoQwf4rlDLn1V0vj1c66pVWrMROGANRDl9s="; + rev = "tags/release/v${version}"; + hash = "sha256-zbQOmlFWpoQwf4rlDLn1V0vj1c66pVWrMROGANRDl9s="; }; cargoHash = "sha256-BYUGtaMG/fvQHYJgeSQcW+ZJOrm3N9g6m0c5TX9psJU="; - nativeBuildInputs = [ installShellFiles ]; - buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ]; + nativeBuildInputs = [ + installShellFiles + ]; + + buildInputs = lib.optionals stdenv.isDarwin [ + libiconv + Foundation + ]; postInstall = '' installShellCompletion target/completions/*.{bash,fish} |