summary refs log tree commit diff
path: root/pkgs/tools/misc/dust
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-02-19 18:18:18 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-02-19 18:18:18 -0500
commit1d0ea761cf3d115f390361825157fd39f5b33643 (patch)
treeb4ecbf65a10b28941073ec5fb77bb7330a588b37 /pkgs/tools/misc/dust
parent4bcb1b3123b7c9f8a778679fe117f934bb66141b (diff)
downloadnixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.tar
nixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.tar.gz
nixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.tar.bz2
nixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.tar.lz
nixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.tar.xz
nixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.tar.zst
nixpkgs-1d0ea761cf3d115f390361825157fd39f5b33643.zip
du-dust: 0.4.4 -> 0.5.1
Diffstat (limited to 'pkgs/tools/misc/dust')
-rw-r--r--pkgs/tools/misc/dust/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/misc/dust/default.nix b/pkgs/tools/misc/dust/default.nix
index c0aa9180aed..7fa9ac9c971 100644
--- a/pkgs/tools/misc/dust/default.nix
+++ b/pkgs/tools/misc/dust/default.nix
@@ -2,25 +2,27 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "dust";
-  version = "0.4.4";
+  version = "0.5.1";
 
   src = fetchFromGitHub {
     owner = "bootandy";
     repo = "dust";
     rev = "v${version}";
-    sha256 = "1qbh9vgdh0xmh4c78fm0rd1sgb01n656p3cr4my7ymsy81ypx9y7";
+    sha256 = "1l5fh7yl8mbgahvzfa251cyp8j5awqdl66jblz565b1wb536kig7";
+    # Remove unicode file names which leads to different checksums on HFS+
+    # vs. other filesystems because of unicode normalisation.
+    extraPostFetch = ''
+      rm -rf $out/src/test_dir3/
+    '';
   };
 
-  # Delete this on next update; see #79975 for details
-  legacyCargoFetcher = true;
-
-  cargoSha256 = "07ynz6y1z3rz84662d4rfl2sw1sx46a3k48z8dckr0b3fqs2zj6a";
+  cargoSha256 = "1sjzcawyg1xsi4xrx2zwnj8yavzph8k1wgxsffgp55wghzypafwl";
 
   doCheck = false;
 
   meta = with stdenv.lib; {
     description = "du + rust = dust. Like du but more intuitive";
-    homepage = https://github.com/bootandy/dust;
+    homepage = "https://github.com/bootandy/dust";
     license = licenses.asl20;
     maintainers = [ maintainers.infinisil ];
     platforms = platforms.all;