dust: rename from du-dust

This commit is contained in:
Aaron Jheng 2024-01-20 13:30:49 +08:00
parent e1297790f1
commit e9e9f6adbd
No known key found for this signature in database
GPG key ID: F6A547A869D050A3
3 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,9 @@
{ 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 = ''

View file

@ -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 ###

View file

@ -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;
};