dua: 2.1.11 -> 2.3.1

This commit is contained in:
Vladyslav M 2020-02-22 10:18:10 +02:00
parent 1fe82110fe
commit 7340dd1d9b
No known key found for this signature in database
GPG key ID: 3B1AD98E3D65BD4D

View file

@ -2,19 +2,23 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "dua"; pname = "dua";
version = "2.1.11"; version = "2.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Byron"; owner = "Byron";
repo = "dua-cli"; repo = "dua-cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "08zgi2yiynb20l1f9rhly4a7zgqnr7lq3cr5vkmh1jnfs6z27dv6"; sha256 = "15pmmjnzjbjlf7np5zf2yahccqx8iw1jlzl3nkhqbs673ns0gjml";
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
extraPostFetch = ''
rm -r $out/tests/fixtures
'';
}; };
# Delete this on next update; see #79975 for details cargoSha256 = "0xqjbhqb08bk40i0rfzfkcl9kp67b8a285ksil4f663nidycmgw3";
legacyCargoFetcher = true;
cargoSha256 = "0hd46h4wwh81hnida0in3142884y8n6ygk7qm09i5wj52g73bivv"; doCheck = false;
meta = with lib; { meta = with lib; {
description = "A tool to conveniently learn about the disk usage of directories, fast!"; description = "A tool to conveniently learn about the disk usage of directories, fast!";