fnm: 1.27.0 -> 1.28.1 (#147798)

Co-authored-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
Kid 2021-12-05 09:04:28 +08:00 committed by GitHub
parent d67b1cd1dc
commit c3a57a6285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 6 deletions

View File

@ -1,21 +1,29 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, installShellFiles
, DiskArbitration
, Foundation
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "fnm";
version = "1.27.0";
version = "1.28.1";
src = fetchFromGitHub {
owner = "Schniz";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4qnisgWhdAWZda8iy9nkph7//bVKJuUeEDS1GaAx+FQ=";
sha256 = "sha256-EH3M5wg+BfTZLvch4jL7AGWwywoSxo+8marzdUgAitg=";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation Security ];
cargoSha256 = "sha256-f3wzuXH2ByXHHOq3zLaMtYm2HJ4BzmZe2e6DQ3V7qVo=";
cargoSha256 = "sha256-Mq1SzAZa05tglcwW6fvT1khVwqA3hRzFjouWLNMWgOk=";
doCheck = false;

View File

@ -11649,7 +11649,7 @@ with pkgs;
flutter = flutterPackages.stable;
fnm = callPackage ../development/tools/fnm {
inherit (darwin.apple_sdk.frameworks) Security;
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation Security;
};
fnlfmt = callPackage ../development/tools/fnlfmt { };