Merge pull request #243104 from vamega/rtx-update-script
rtx: 1.32.2 -> 1.34.0
This commit is contained in:
commit
d728cbd8a4
1 changed files with 8 additions and 3 deletions
|
@ -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)";
|
||||
|
|
Loading…
Reference in a new issue