Merge pull request #207536 from aidalgol/nushell-0.73
nushell: 0.72.1 -> 0.73
This commit is contained in:
@@ -21,30 +21,21 @@
|
||||
, withExtraFeatures ? true
|
||||
, testers
|
||||
, nushell
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell";
|
||||
version = "0.72.1";
|
||||
version = "0.73.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-OVJr+usN+47yBHFAy94rIVlU2F+Klo6xdrV2MwUoKUE=";
|
||||
sha256 = "sha256-hxcB5nzhVjsC5XYR4Pt3GN4ZEgWpetQQZr0mj3bAnRc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/nushell/nushell/pull/7423: make tests
|
||||
# more resilient (less dependent on env).
|
||||
# Already merged upstream, so can be dropped in the next version
|
||||
(fetchpatch {
|
||||
url = "https://github.com/nushell/nushell/commit/87631e7068bfc6635d5b31413856f0a791994527.patch";
|
||||
hash = "sha256-9vrcmBe5gXLLodynb3jyarwi/a0YiurJ6WsDxXl2vjo=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-v6mPr+gOT64rKYuog+hS7/AqUZDailoOBXX3Sfeo+sk=";
|
||||
cargoSha256 = "sha256-pw+pBZeXuKSaP/qC3aiauXAH/BRR1rQZ2jVVmR1JQhU=";
|
||||
|
||||
# enable pkg-config feature of zstd
|
||||
cargoPatches = [ ./zstd-pkg-config.patch ];
|
||||
@@ -99,5 +90,8 @@ rustPlatform.buildRustPackage rec {
|
||||
tests.version = testers.testVersion {
|
||||
package = nushell;
|
||||
};
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user