Merge pull request #243104 from vamega/rtx-update-script

rtx: 1.32.2 -> 1.34.0
This commit is contained in:
Nick Cao 2023-07-12 22:08:04 -06:00 committed by GitHub
commit d728cbd8a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib
, nix-update-script
, rustPlatform
, fetchFromGitHub
, installShellFiles
@ -11,16 +12,16 @@
rustPlatform.buildRustPackage rec {
pname = "rtx";
version = "1.32.2";
version = "1.34.0";
src = fetchFromGitHub {
owner = "jdxcode";
repo = "rtx";
rev = "v${version}";
sha256 = "sha256-Q210UAyPPeBfxFJvmudjhrNsVpBOG2hSQ0PeLLWMZx8=";
sha256 = "sha256-ePRYlTGgZDrIClZ4kb9v62/FiLzZT6DzL3kaY6eAq5g=";
};
cargoHash = "sha256-1Pmt+DWXSkY8uwE4bNu68NTnQLnfsoQr7I7BgCiQ+1E=";
cargoSha256 = "sha256-RFAIc4KfMvxz2BYX8x8j8T5evMqFP8ML4+wHwWdODVk=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
@ -53,6 +54,10 @@ rustPlatform.buildRustPackage rec {
--zsh ./completions/_rtx
'';
passthru = {
updateScript = nix-update-script { };
};
meta = {
homepage = "https://github.com/jdxcode/rtx";
description = "Polyglot runtime manager (asdf rust clone)";