nushell: 104.1 -> 105.1 (#415706)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-24 05:33:36 +02:00
committed by GitHub
+8 -14
View File
@@ -20,9 +20,8 @@
}:
let
version = "0.104.1";
version = "0.105.1";
in
rustPlatform.buildRustPackage {
pname = "nushell";
inherit version;
@@ -31,11 +30,11 @@ rustPlatform.buildRustPackage {
owner = "nushell";
repo = "nushell";
tag = version;
hash = "sha256-ibQBwcoWzxl7t5q0KpiCiEmAasJJjBg2LMGf28y3sCk=";
hash = "sha256-UcIcCzfe2C7qFJKLo3WxwXyGI1rBBrhQHtrglKNp6ck=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-8HxLX94i86F9vsnlZFgvVdTCkponlEA51WXCT3zlc2w=";
cargoHash = "sha256-v3BtcEd1eMtHlDLsu0Y4i6CWA47G0CMOyVlMchj7EJo=";
nativeBuildInputs =
[ pkg-config ]
@@ -43,13 +42,8 @@ rustPlatform.buildRustPackage {
++ lib.optionals stdenv.hostPlatform.isDarwin [ rustPlatform.bindgenHook ];
buildInputs =
[
openssl
zstd
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
zlib
]
[ zstd ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ zlib ]
++ lib.optionals (withDefaultFeatures && stdenv.hostPlatform.isLinux) [ xorg.libX11 ]
++ lib.optionals (withDefaultFeatures && stdenv.hostPlatform.isDarwin) [
nghttp2
@@ -75,9 +69,9 @@ rustPlatform.buildRustPackage {
runHook postCheck
'';
checkInputs = lib.optionals stdenv.hostPlatform.isDarwin [
curlMinimal
];
checkInputs =
lib.optionals stdenv.hostPlatform.isDarwin [ curlMinimal ]
++ lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
passthru = {
shellPath = "/bin/nu";