Merge pull request #282233 from aaronjheng/dust

dust: rename from du-dust
This commit is contained in:
Silvan Mosberger 2024-02-09 05:01:42 +01:00 committed by GitHub
commit 235cf95360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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

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

View file

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