mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
nix-du: 0.1.2 -> 0.2.0
This commit is contained in:
parent
f5307941cc
commit
1db6cd6952
1 changed files with 7 additions and 6 deletions
|
@ -1,19 +1,20 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "nix-du-${version}";
|
||||
version = "0.1.2";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "symphorien";
|
||||
repo = "nix-du";
|
||||
rev = "v${version}";
|
||||
sha256 = "1y7ifr4c3v1494swh6akvna0d0rxjy9jw3mw2wdd6vj1xphvmimq";
|
||||
sha256 = "1n1qgqjbwbb59xnzgz0dn8h8pckh6yq3crh0w6x2sngijwh678x8";
|
||||
};
|
||||
cargoSha256 = "0qq7a6ncxnbjvnmly99awqrk9f3z9b55ifil7b0bn5yhk4h9sa6y";
|
||||
cargoSha256 = "1qidbrkdpf4kliyvy2040qi3a67s8mr2r46rjcblr1v2gar0xgs0";
|
||||
|
||||
doCheck = true;
|
||||
# switch to true when nix includes https://github.com/NixOS/nix/pull/2223 and
|
||||
# https://github.com/NixOS/nix/pull/2234
|
||||
doCheck = false;
|
||||
checkInputs = [ graphviz ];
|
||||
nativeBuildInputs = [] ++ stdenv.lib.optionals doCheck checkInputs;
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
|
@ -25,6 +26,6 @@ rustPlatform.buildRustPackage rec {
|
|||
homepage = https://github.com/symphorien/nix-du;
|
||||
license = licenses.lgpl3;
|
||||
maintainers = [ maintainers.symphorien ];
|
||||
platforms = platforms.all;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue