diff options
author | happysalada <raphael@megzari.com> | 2021-05-05 08:43:29 +0900 |
---|---|---|
committer | happysalada <raphael@megzari.com> | 2021-05-05 08:43:29 +0900 |
commit | abc9c2e39bc821b945ee6411ac91da28217e040b (patch) | |
tree | f9c0167e5a768cf087a955a172ff4ffedfb3a826 /pkgs/tools/misc/dua | |
parent | 37e2fbda397880a38af91dbf266b19cd3955ed07 (diff) |
dua: 2.11.1 -> 2.11.2, fix darwin build
Diffstat (limited to 'pkgs/tools/misc/dua')
-rw-r--r-- | pkgs/tools/misc/dua/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/misc/dua/default.nix b/pkgs/tools/misc/dua/default.nix index f0bb6905b43c5..5bff1f66d569d 100644 --- a/pkgs/tools/misc/dua/default.nix +++ b/pkgs/tools/misc/dua/default.nix @@ -1,14 +1,16 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }: rustPlatform.buildRustPackage rec { pname = "dua"; - version = "2.11.1"; + version = "2.11.2"; + + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; src = fetchFromGitHub { owner = "Byron"; repo = "dua-cli"; rev = "v${version}"; - sha256 = "sha256-pjFApZQJqw0fJmJteO7VZWRLogV3rO5XDagZd1MliZg="; + sha256 = "sha256-sT4hg5MC6xuhSKeNxaVY9vOlMEx23uwxgK6UMLO4kVs="; # Remove unicode file names which leads to different checksums on HFS+ # vs. other filesystems because of unicode normalisation. extraPostFetch = '' @@ -16,7 +18,7 @@ rustPlatform.buildRustPackage rec { ''; }; - cargoSha256 = "sha256-xsTScRAu0SF1xtjUwBtNJUNIItoR0jjEd2CuSmmeh9c="; + cargoSha256 = "sha256-DOotIN8XScgHR9L6aFgky2B18piGIKfLWx1GTdYnCB0="; doCheck = false; |