Unverified Commit fb4debd7 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #245494 from marsam/update-nushell

nushell: 0.82.0 -> 0.83.0
parents 32865b67 472de7a9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
}:

let
  version = "0.82.0";
  version = "0.83.0";
in

rustPlatform.buildRustPackage {
@@ -33,10 +33,10 @@ rustPlatform.buildRustPackage {
    owner = "nushell";
    repo = "nushell";
    rev = version;
    hash = "sha256-D/R+/60Lo2rLUA/313CTJQookqSNtbD7LnVf0vBC9Qc=";
    hash = "sha256-+/y4gtcrn6pM+LrzRQuHPACszZpYHCXMLbPlaIi4SAY=";
  };

  cargoHash = "sha256-LTnBJDA2RkAP3ZCpl5enUc0PLS63EVXQyIopUwBd8OQ=";
  cargoHash = "sha256-amDSzsDeG4ABlFLlytcfJV0xA9Rl7Udb/nWEz64pWi0=";

  nativeBuildInputs = [ pkg-config ]
    ++ lib.optionals (withDefaultFeatures && stdenv.isLinux) [ python3 ]
+6 −3
Original line number Diff line number Diff line
{ lib
, stdenvNoCC
, fetchFromGitHub
, unstableGitUpdater
}:

stdenvNoCC.mkDerivation rec {
  pname = "nu_scripts";
  version = "unstable-2023-04-26";
  version = "unstable-2023-07-24";

  src = fetchFromGitHub {
    owner = "nushell";
    repo = pname;
    rev = "724f89c330dc5b93a2fde29f732cbd5b8d73785c";
    hash = "sha256-aCLFbxVE8/hWsPNPLt2Qn8CaBkYJJLSDgpl6LYvFVYc=";
    rev = "e6adf4e0ae04f946fcc93a77e0992e2e00467e26";
    hash = "sha256-6hQEBotZyNuBL0vAzqS1C9LLMk2RMv5ZwFCcSI3aSU8=";
  };

  installPhase = ''
@@ -23,6 +24,8 @@ stdenvNoCC.mkDerivation rec {
    runHook postInstall
  '';

  passthru.updateScript = unstableGitUpdater { };

  meta = {
    description = "A place to share Nushell scripts with each other";
    homepage = "https://github.com/nushell/nu_scripts";