Unverified Commit e9e9f6ad authored by Aaron Jheng's avatar Aaron Jheng
Browse files

dust: rename from du-dust

parent e1297790
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
@@ -230,6 +230,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
@@ -31117,7 +31117,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;
  };