1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/package-management/nix-du/default.nix

30 lines
884 B
Nix
Raw Normal View History

2018-11-03 10:08:23 +00:00
{ stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz, darwin }:
2018-05-21 21:42:35 +01:00
rustPlatform.buildRustPackage rec {
2019-08-31 12:41:23 +01:00
pname = "nix-du";
version = "0.3.0-git-master";
2018-05-21 21:42:35 +01:00
src = fetchFromGitHub {
owner = "symphorien";
repo = "nix-du";
rev = "e6e927c15e75f7c2e63f7f3c181dc6b257f6fd9e";
sha256 = "08jyp078h9jpb9qfqg5mdbq29rl8a006n94hqk3yk6gv1s57cfic";
2018-05-21 21:42:35 +01:00
};
cargoSha256 = "071gbhxbvnwi7n3zpy7bmlprzir0sl0f0pb191xg2ynw678prd7v";
2018-05-21 21:42:35 +01:00
2018-11-03 10:08:23 +00:00
doCheck = true;
2018-05-21 21:42:35 +01:00
checkInputs = [ graphviz ];
buildInputs = [
boost
nix
2018-11-03 10:08:23 +00:00
] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
2018-05-21 21:42:35 +01:00
meta = with stdenv.lib; {
description = "A tool to determine which gc-roots take space in your nix store";
homepage = https://github.com/symphorien/nix-du;
license = licenses.lgpl3;
maintainers = [ maintainers.symphorien ];
2018-06-22 20:39:55 +01:00
platforms = platforms.unix;
2018-05-21 21:42:35 +01:00
};
}