nix-du: 0.2.0 -> 0.3.0

This commit is contained in:
Symphorien Gibol 2018-11-03 11:08:23 +01:00
parent 45a419ab5a
commit 8a8a2f61a9

View File

@ -1,25 +1,23 @@
{ stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz }: { stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz, darwin }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "nix-du-${version}"; name = "nix-du-${version}";
version = "0.2.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "symphorien"; owner = "symphorien";
repo = "nix-du"; repo = "nix-du";
rev = "v${version}"; rev = "v${version}";
sha256 = "1n1qgqjbwbb59xnzgz0dn8h8pckh6yq3crh0w6x2sngijwh678x8"; sha256 = "1x6qpivxbn94034jfdxb97xi97fhcdv2z7llq2ccfc80mgd0gz8l";
}; };
cargoSha256 = "1qidbrkdpf4kliyvy2040qi3a67s8mr2r46rjcblr1v2gar0xgs0"; cargoSha256 = "0sva4lnhccm6ly7pa6m99s3fqkmh1dzv7r2727nsg2f55prd4kxc";
# switch to true when nix includes https://github.com/NixOS/nix/pull/2223 and doCheck = true;
# https://github.com/NixOS/nix/pull/2234
doCheck = false;
checkInputs = [ graphviz ]; checkInputs = [ graphviz ];
buildInputs = [ buildInputs = [
boost boost
nix nix
]; ] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta = with stdenv.lib; { meta = with stdenv.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";