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
59
pkgs/development/libraries/libabigail/default.nix
Normal file
59
pkgs/development/libraries/libabigail/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, elfutils
|
||||
, libxml2
|
||||
, pkg-config
|
||||
, strace
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libabigail";
|
||||
version = "2.0";
|
||||
|
||||
outputs = [ "bin" "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mirrors.kernel.org/sourceware/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-NwSul6Vr8HbKCPtd6msh25mPu/FMT53hKCS3jbU7b9o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
strace
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
elfutils
|
||||
libxml2
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
python3
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-bash-completion=yes"
|
||||
"--enable-cxx11=yes"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
# runtestdiffpkg needs cache directory
|
||||
export XDG_CACHE_HOME="$TEMPDIR"
|
||||
patchShebangs tests/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "ABI Generic Analysis and Instrumentation Library";
|
||||
homepage = "https://sourceware.org/libabigail/";
|
||||
license = with licenses; [ asl20 llvm-exception ];
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue