uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
27
pkgs/tools/misc/dutree/default.nix
Normal file
27
pkgs/tools/misc/dutree/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ fetchFromGitHub, lib, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dutree";
|
||||
version = "0.2.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nachoparker";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "17lm8jd07bi499mywg2iq669im34j4x4yhc8a3adxn12f8j0dfg7";
|
||||
# test directory has files with unicode names which causes hash mismatches
|
||||
# It is also not used by any tests or parts of build process
|
||||
postFetch = ''
|
||||
rm -r $out/test
|
||||
'';
|
||||
};
|
||||
|
||||
cargoSha256 = "0gg1w0xx36aswfm0y53nqwwz7zds25ysmklbrc8v2r91j74bhkzw";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool to analyze file system usage written in Rust";
|
||||
homepage = "https://github.com/nachoparker/dutree";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue