fnm: 1.37.2 -> 1.38.1 (#358132)

This commit is contained in:
Nick Cao 2024-11-23 09:29:10 -05:00 committed by GitHub
commit 8f3346fc6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 19 deletions

View File

@ -1,29 +1,25 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, installShellFiles
, DiskArbitration
, Foundation
, Security
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
installShellFiles,
}:
rustPlatform.buildRustPackage rec {
pname = "fnm";
version = "1.37.2";
version = "1.38.1";
src = fetchFromGitHub {
owner = "Schniz";
repo = pname;
rev = "v${version}";
sha256 = "sha256-RU9GJIn5yTZU6GsIZVQVMtIXnD9ZjmkLWk/V8ZnSXNY=";
sha256 = "sha256-WW+jWaClDn78Fw/xj6WvnEUlBI99HA5hQFUpwsYKmbI=";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ DiskArbitration Foundation Security ];
cargoHash = "sha256-2opSyfEuFTS3QZbrk0SOMeiRc+rQTWvm2vqSHyGeFns=";
cargoHash = "sha256-InukV9tey9fVBj2tDff9HMQ149mXJCPJ85B1fMKyIJ0=";
doCheck = false;
@ -34,11 +30,11 @@ rustPlatform.buildRustPackage rec {
--zsh <($out/bin/fnm completions --shell zsh)
'';
meta = with lib; {
meta = {
description = "Fast and simple Node.js version manager";
mainProgram = "fnm";
homepage = "https://github.com/Schniz/fnm";
license = licenses.gpl3Only;
maintainers = with maintainers; [ kidonng ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ kidonng ];
};
}

View File

@ -6103,9 +6103,7 @@ with pkgs;
flutter324 = flutterPackages.v3_24;
flutter319 = flutterPackages.v3_19;
fnm = callPackage ../development/tools/fnm {
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation Security;
};
fnm = callPackage ../development/tools/fnm { };
fpc = callPackage ../development/compilers/fpc { };