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
42
pkgs/development/tools/misc/libtree/default.nix
Normal file
42
pkgs/development/tools/misc/libtree/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, binutils
|
||||
, chrpath
|
||||
, cmake
|
||||
, cxxopts
|
||||
, elfio
|
||||
, termcolor
|
||||
, gtest
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libtree";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "haampie";
|
||||
repo = "libtree";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-C5QlQsBL9Als80Tv13ex2XS5Yj50Ht8eDfGYAtnh/HI=";
|
||||
};
|
||||
|
||||
buildInputs = [ cxxopts elfio termcolor ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
# note: "make check" returns exit code 0 even when the tests fail.
|
||||
# This has been reported upstream:
|
||||
# https://github.com/haampie/libtree/issues/77
|
||||
checkInputs = [ gtest ];
|
||||
checkTarget = [ "check" ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tree ldd with an option to bundle dependencies into a single folder";
|
||||
homepage = "https://github.com/haampie/libtree";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ prusnak rardiol ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue