Merge pull request #213823 from r-ryantm/auto-update/du-dust

du-dust: 0.8.3 -> 0.8.4
This commit is contained in:
Mario Rodas 2023-01-31 19:54:23 -05:00 committed by GitHub
commit bdfc50a38d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 5 deletions

View file

@ -1,14 +1,14 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, AppKit }: { stdenv, lib, fetchFromGitHub, rustPlatform, AppKit, installShellFiles }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "du-dust"; pname = "du-dust";
version = "0.8.3"; version = "0.8.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bootandy"; owner = "bootandy";
repo = "dust"; repo = "dust";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-+YcHiW4kR4JeIY6zv1WJ97dCIakvtbn8+b9tLFH+aLE="; sha256 = "sha256-g1i003nBbTYIuKG4ZCQSoI8gINTVc8BKRoO3UOeHOGE=";
# Remove unicode file names which leads to different checksums on HFS+ # Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation. # vs. other filesystems because of unicode normalisation.
postFetch = '' postFetch = ''
@ -16,12 +16,19 @@ rustPlatform.buildRustPackage rec {
''; '';
}; };
cargoSha256 = "sha256-yKj9CBoEC6UJf4L+XO2qi69//45lSqblMe8ofnLctEw="; cargoHash = "sha256-jtQ/nkD5XMD2rsq550XsRK416wOCR3OuhgGPeuC3jzc=";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ AppKit ]; buildInputs = lib.optionals stdenv.isDarwin [ AppKit ];
doCheck = false; doCheck = false;
postInstall = ''
installManPage man-page/dust.1
installShellCompletion completions/dust.{bash,fish} --zsh completions/_dust
'';
meta = with lib; { meta = with lib; {
description = "du + rust = dust. Like du but more intuitive"; description = "du + rust = dust. Like du but more intuitive";
homepage = "https://github.com/bootandy/dust"; homepage = "https://github.com/bootandy/dust";

View file

@ -28858,7 +28858,7 @@ with pkgs;
dunst = callPackage ../applications/misc/dunst { }; dunst = callPackage ../applications/misc/dunst { };
du-dust = callPackage ../tools/misc/dust { du-dust = callPackage ../tools/misc/dust {
inherit (darwin.apple_sdk.frameworks) AppKit; inherit (darwin.apple_sdk_11_0.frameworks) AppKit;
}; };
dutree = callPackage ../tools/misc/dutree { }; dutree = callPackage ../tools/misc/dutree { };