Merge pull request #42395 from symphorien/nix-du-0-2-0
nix-du: 0.1.2 -> 0.2.0
This commit is contained in:
commit
e73783ae40
@ -1,19 +1,20 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz }:
|
{ stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz }:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "nix-du-${version}";
|
name = "nix-du-${version}";
|
||||||
version = "0.1.2";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "symphorien";
|
owner = "symphorien";
|
||||||
repo = "nix-du";
|
repo = "nix-du";
|
||||||
rev = "v${version}";
|
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 ];
|
checkInputs = [ graphviz ];
|
||||||
nativeBuildInputs = [] ++ stdenv.lib.optionals doCheck checkInputs;
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
@ -25,6 +26,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
homepage = https://github.com/symphorien/nix-du;
|
homepage = https://github.com/symphorien/nix-du;
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
maintainers = [ maintainers.symphorien ];
|
maintainers = [ maintainers.symphorien ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user