Unverified Commit 235cf953 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

Merge pull request #282233 from aaronjheng/dust

dust: rename from du-dust
parents 759adbf8 e9e9f6ad
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, rustPlatform, AppKit, installShellFiles }:

rustPlatform.buildRustPackage rec {
  # Originally, this package was under the attribute `du-dust`, since `dust` was taken.
  # Since then, `dust` has been freed up, allowing this package to take that attribute.
  # However in order for tools like `nix-env` to detect package updates, keep `du-dust` for pname.
  pname = "du-dust";
  version = "0.9.0";

@@ -8,7 +11,7 @@ rustPlatform.buildRustPackage rec {
    owner = "bootandy";
    repo = "dust";
    rev = "v${version}";
    sha256 = "sha256-5X7gRMTUrG6ecZnwExBTadOJo/HByohTMDsgxFmp1HM=";
    hash = "sha256-5X7gRMTUrG6ecZnwExBTadOJo/HByohTMDsgxFmp1HM=";
    # Remove unicode file names which leads to different checksums on HFS+
    # vs. other filesystems because of unicode normalisation.
    postFetch = ''
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ mapAliases ({
  drgeo = throw "'drgeo' has been removed as it is outdated and unmaintained"; # Added 2023-10-15
  dtv-scan-tables_linuxtv = dtv-scan-tables; # Added 2023-03-03
  dtv-scan-tables_tvheadend = dtv-scan-tables; # Added 2023-03-03
  du-dust = dust; # Added 2024-01-19
  dylibbundler = macdylibbundler; # Added 2021-04-24

  ### E ###
+1 −1
Original line number Diff line number Diff line
@@ -31064,7 +31064,7 @@ with pkgs;
  dunst = callPackage ../applications/misc/dunst { };
  du-dust = callPackage ../tools/misc/dust {
  dust = callPackage ../by-name/du/dust/package.nix {
    inherit (darwin.apple_sdk_11_0.frameworks) AppKit;
  };