nix-du: 0.3.3 -> 0.3.4 (#119243)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Guillaume Girol 2021-04-13 11:47:23 +00:00 committed by GitHub
parent 3c12bf1b8a
commit 46163f6fef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View File

@ -1,17 +1,17 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz, darwin }: { lib, stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz, Security, pkg-config }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nix-du"; pname = "nix-du";
version = "0.3.3"; version = "0.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "symphorien"; owner = "symphorien";
repo = "nix-du"; repo = "nix-du";
rev = "v${version}"; rev = "v${version}";
sha256 = "0h8ya0nn65hbyi3ssmrjarfxadx2sa61sspjlrln8knk7ppxk3mq"; sha256 = "0iwlprjbphwsrxdhgsxa8ja73snsyh0rdxrpsf1ygid2ky5vc83f";
}; };
cargoSha256 = "0d86bn6myr29bwrzw3ihnzg1yij673s80bm1l8srk2k2szyfwwh5"; cargoSha256 = "19fwkw9iswzkhqgfq7pmcabqmq5c7vvirwaxbfjshkwcgn47rgjl";
doCheck = true; doCheck = true;
checkInputs = [ nix graphviz ]; checkInputs = [ nix graphviz ];
@ -19,12 +19,14 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
boost boost
nix nix
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; ] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ pkg-config ];
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";
homepage = "https://github.com/symphorien/nix-du"; homepage = "https://github.com/symphorien/nix-du";
license = licenses.lgpl3; license = licenses.lgpl3Only;
maintainers = [ maintainers.symphorien ]; maintainers = [ maintainers.symphorien ];
platforms = platforms.unix; platforms = platforms.unix;
}; };

View File

@ -29906,7 +29906,9 @@ in
nix-deploy = haskell.lib.justStaticExecutables haskellPackages.nix-deploy; nix-deploy = haskell.lib.justStaticExecutables haskellPackages.nix-deploy;
nix-diff = haskell.lib.justStaticExecutables haskellPackages.nix-diff; nix-diff = haskell.lib.justStaticExecutables haskellPackages.nix-diff;
nix-du = callPackage ../tools/package-management/nix-du { }; nix-du = callPackage ../tools/package-management/nix-du {
inherit (darwin.apple_sdk.frameworks) Security;
};
nix-info = callPackage ../tools/nix/info { }; nix-info = callPackage ../tools/nix/info { };
nix-info-tested = nix-info.override { doCheck = true; }; nix-info-tested = nix-info.override { doCheck = true; };