Unverified Commit f4b4f1bb authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

Merge pull request #331563 from uncenter/pr-1de45257

yazi, yazi-unwrapped: 0.2.5 -> 0.3.0
parents f2d6c712 80c34fd7
Loading
Loading
Loading
Loading
+3508 −0

File added.

Preview size limit exceeded, changes collapsed.

+9 −12
Original line number Diff line number Diff line
@@ -11,28 +11,25 @@

rustPlatform.buildRustPackage rec {
  pname = "yazi";
  version = "0.2.5";
  version = "0.3.0";

  src = fetchFromGitHub {
    owner = "sxyazi";
    repo = "yazi";
    rev = "v${version}";
    hash = "sha256-RwkgJX4naD3t97ce4Zg/VWJ41QiVFFqDW5nHpyMtISY=";
    hash = "sha256-vK8P+6hn7NiympkQE8Bp45ZPqTO24VTSu0QwnXHfdXw=";
  };

  cargoHash = "sha256-qnbinuTuaPiD7ib3aCJzSwuA4s3naFzi+txqX7jkHIo=";
  cargoLock = {
    lockFile = ./Cargo.lock;
    outputHashes = {
      "notify-6.1.1" = "sha256-5Ft2yvRPi2EaErcGBkF/3Xv6K7ijFGbdjmSqI4go/h4=";
    };
  };

  env.YAZI_GEN_COMPLETIONS = true;
  env.VERGEN_GIT_SHA = "Nixpkgs";
  env.VERGEN_BUILD_DATE = "2024-04-23";

  # TODO: remove in the next release
  cargoBuildFlags = [
    "-p"
    "yazi-fm"
    "-p"
    "yazi-cli"
  ];
  env.VERGEN_BUILD_DATE = "2024-08-01";

  nativeBuildInputs = [ installShellFiles ];
  buildInputs = [ rust-jemalloc-sys ] ++ lib.optionals stdenv.isDarwin [ Foundation ];
+6 −2
Original line number Diff line number Diff line
@@ -8,12 +8,14 @@
  optionalDeps ? [
    jq
    poppler_utils
    unar
    _7zz
    ffmpegthumbnailer
    fd
    ripgrep
    fzf
    zoxide
    imagemagick
    chafa
  ],

  # deps
@@ -23,12 +25,14 @@
  # optional deps
  jq,
  poppler_utils,
  unar,
  _7zz,
  ffmpegthumbnailer,
  fd,
  ripgrep,
  fzf,
  zoxide,
  imagemagick,
  chafa,

  settings ? { },
  plugins ? { },