mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #144046 from symphorien/nix-du-0.4
This commit is contained in:
commit
5355564a3c
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