nix-du: 0.3.3 -> 0.4
support for the up and coming nix 2.4
This commit is contained in:
parent
2deb07f3ac
commit
0995b30c34
1 changed files with 15 additions and 4 deletions
|
@ -1,17 +1,27 @@
|
|||
{ lib, stdenv, fetchFromGitHub, rustPlatform, nix, boost, graphviz, Security, pkg-config }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, nix
|
||||
, nlohmann_json
|
||||
, boost
|
||||
, graphviz
|
||||
, Security
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-du";
|
||||
version = "0.3.4";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "symphorien";
|
||||
repo = "nix-du";
|
||||
rev = "v${version}";
|
||||
sha256 = "0iwlprjbphwsrxdhgsxa8ja73snsyh0rdxrpsf1ygid2ky5vc83f";
|
||||
sha256 = "0nl451xfby8krxl2wyn91mm0rvacj1718qbqw6k56dwsqlnnxmx0";
|
||||
};
|
||||
|
||||
cargoSha256 = "19fwkw9iswzkhqgfq7pmcabqmq5c7vvirwaxbfjshkwcgn47rgjl";
|
||||
cargoSha256 = "0swdlp3qdisr8gxihg5syplzssggx9avmdb2w70056436046gs1r";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ nix graphviz ];
|
||||
|
@ -19,6 +29,7 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs = [
|
||||
boost
|
||||
nix
|
||||
nlohmann_json
|
||||
] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
|
Loading…
Reference in a new issue