Commit 1acef57f authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani
Browse files
parent e1297790
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@

rustPlatform.buildRustPackage rec {
  pname = "dua";
  version = "2.26.0";
  version = "2.28.0";

  src = fetchFromGitHub {
    owner = "Byron";
    repo = "dua-cli";
    rev = "v${version}";
    hash = "sha256-+7pf87mmT5KB4KtKzZXYnV6GwMzb6ieXjBVZpvmQ3eU=";
    hash = "sha256-a5J6G7QvCi2u064fP4V5uxxvBXcbN+a+dIO5MbsVU70=";
    # Remove unicode file names which leads to different checksums on HFS+
    # vs. other filesystems because of unicode normalisation.
    postFetch = ''
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
    '';
  };

  cargoHash = "sha256-5n6zjuoL5v3ieP8eOzvyJf/YDmQ+MuGMk3T/8rHKQVE=";
  cargoHash = "sha256-Up7HvBJMR5h+/rdlJVMeCCuOiOQ8++oReCBI8wt3T2M=";

  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Foundation