nushell: 0.44.0 -> 0.60.0

Nushell 0.60 was released on Mar, 22nd. This upgrades nushell for nixpkgs to
that version.

For release notes see https://www.nushell.sh/blog/2022-03-22-nushell_0_60.html

authored by Andreas and committed by Yt 54a21b8d 0a160772

+17 -16
+4 -3
pkgs/shells/nushell/default.nix
··· 18 19 rustPlatform.buildRustPackage rec { 20 pname = "nushell"; 21 - version = "0.44.0"; 22 23 src = fetchFromGitHub { 24 owner = pname; 25 repo = pname; 26 rev = version; 27 - sha256 = "sha256-LMG72XfDHA9dKiBbaB09v0rDdUKRy/Czu/lsYw6jUog="; 28 }; 29 30 - cargoSha256 = "sha256-wgaRTf+ZQ7alibCdeCjSQhhR9MC77qM1n0jakDgr114="; 31 32 nativeBuildInputs = [ pkg-config ] 33 ++ lib.optionals (withExtraFeatures && stdenv.isLinux) [ python3 ];
··· 18 19 rustPlatform.buildRustPackage rec { 20 pname = "nushell"; 21 + version = "0.60.0"; 22 23 src = fetchFromGitHub { 24 owner = pname; 25 repo = pname; 26 rev = version; 27 + sha256 = "1qfqn2q2bam0jrr4yqq9rb29k8qj9w9g0j9x4n8h0zp28vn7c2bq"; 28 }; 29 30 + cargoSha256 = "sha256-gZ9r1Ryp5a7MjG9yM0pGCBYtM4GylZg7Sg9wCiB+SW0="; 31 + 32 33 nativeBuildInputs = [ pkg-config ] 34 ++ lib.optionals (withExtraFeatures && stdenv.isLinux) [ python3 ];
+13 -13
pkgs/shells/nushell/use-system-zstd-lib.diff
··· 1 diff --git a/Cargo.lock b/Cargo.lock 2 - index 8833c3e5..0c90d2fe 100644 3 --- a/Cargo.lock 4 +++ b/Cargo.lock 5 - @@ -3188,6 +3188,7 @@ dependencies = [ 6 - "nu_plugin_xpath", 7 "rstest", 8 "serial_test", 9 + "zstd-sys", 10 ] 11 - 12 [[package]] 13 - @@ -6954,4 +6955,5 @@ checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33" 14 dependencies = [ 15 "cc", 16 "libc", 17 + "pkg-config", 18 ] 19 diff --git a/Cargo.toml b/Cargo.toml 20 - index 89e8a311..4cc2331a 100644 21 --- a/Cargo.toml 22 +++ b/Cargo.toml 23 - @@ -63,6 +63,9 @@ serial_test = "0.5.1" 24 - hamcrest2 = "0.3.0" 25 - rstest = "0.10.0" 26 - 27 +# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library 28 +zstd-sys = { version = "1", features = [ "pkg-config" ] } 29 + 30 - [build-dependencies] 31 - 32 - [features]
··· 1 diff --git a/Cargo.lock b/Cargo.lock 2 + index 4261c06..6d6e537 100644 3 --- a/Cargo.lock 4 +++ b/Cargo.lock 5 + @@ -2166,6 +2166,7 @@ dependencies = [ 6 "rstest", 7 "serial_test", 8 + "tempfile", 9 + "zstd-sys", 10 ] 11 + 12 [[package]] 13 + @@ -4962,4 +4963,5 @@ checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" 14 dependencies = [ 15 "cc", 16 "libc", 17 + "pkg-config", 18 ] 19 diff --git a/Cargo.toml b/Cargo.toml 20 + index e214da1..b78919a 100644 21 --- a/Cargo.toml 22 +++ b/Cargo.toml 23 + @@ -67,6 +69,9 @@ hamcrest2 = "0.3.0" 24 + rstest = "0.12.0" 25 + itertools = "0.10.3" 26 + 27 +# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library 28 +zstd-sys = { version = "1", features = [ "pkg-config" ] } 29 + 30 + [target.'cfg(windows)'.build-dependencies] 31 + embed-resource = "1" 32 +