Unverified Commit 0a5978e3 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #189248 from r-ryantm/auto-update/du-dust

parents 3640c6f2 f18456f8
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, rustPlatform }:
{ stdenv, lib, fetchFromGitHub, rustPlatform, AppKit }:

rustPlatform.buildRustPackage rec {
  pname = "du-dust";
  version = "0.8.2";
  version = "0.8.3";

  src = fetchFromGitHub {
    owner = "bootandy";
    repo = "dust";
    rev = "v${version}";
    sha256 = "sha256-ZPIxJ8D8yxaL7RKIVKIIlqwUXBbVM0JprE5TSTGkhfI=";
    sha256 = "sha256-+YcHiW4kR4JeIY6zv1WJ97dCIakvtbn8+b9tLFH+aLE=";
    # Remove unicode file names which leads to different checksums on HFS+
    # vs. other filesystems because of unicode normalisation.
    postFetch = ''
@@ -16,7 +16,9 @@ rustPlatform.buildRustPackage rec {
    '';
  };

  cargoSha256 = "sha256-dgAyxSVNe+UKuT0UJqPvYcrLolKtC2+EN/okSvzkhcA=";
  cargoSha256 = "sha256-yKj9CBoEC6UJf4L+XO2qi69//45lSqblMe8ofnLctEw=";

  buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];

  doCheck = false;

+3 −1
Original line number Diff line number Diff line
@@ -26970,7 +26970,9 @@ with pkgs;
  dunst = callPackage ../applications/misc/dunst { };
  du-dust = callPackage ../tools/misc/dust { };
  du-dust = callPackage ../tools/misc/dust {
    inherit (darwin.apple_sdk.frameworks) AppKit;
  };
  dutree = callPackage ../tools/misc/dutree { };