nix-du: 0.4.1 -> 0.5.0

fix build with nix 2.7
This commit is contained in:
Guillaume Girol 2022-03-13 12:00:00 +00:00 committed by Yt
parent 6a201dc719
commit 976a5bc9ff

View file

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nix-du"; pname = "nix-du";
version = "0.4.1"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "symphorien"; owner = "symphorien";
repo = "nix-du"; repo = "nix-du";
rev = "v${version}"; rev = "v${version}";
sha256 = "0v6hixj81aa6g3sddny46i0yqaaqv6krp5xadj0xz1g77cb8xy2w"; sha256 = "sha256-NnoCoiYTXci7f9MXsxEhoYHwPsaAAuK2wSrDye2+SYM=";
}; };
cargoSha256 = "11jaks6adsvrvxlqqw3glvn4ff7xh9j35ayfrl89rb4achvqp7xn"; cargoSha256 = "sha256-X5181gZtvnUHZAqMjNARRVFq12LuLJfPP5ZOWxBRxXk=";
doCheck = true; doCheck = true;
checkInputs = [ nix graphviz ]; checkInputs = [ nix graphviz ];
@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
nlohmann_json nlohmann_json
] ++ lib.optionals stdenv.isDarwin [ Security ]; ] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
meta = with lib; { meta = with lib; {
description = "A tool to determine which gc-roots take space in your nix store"; description = "A tool to determine which gc-roots take space in your nix store";