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
36
pkgs/development/libraries/dyncall/default.nix
Normal file
36
pkgs/development/libraries/dyncall/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dyncall";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.dyncall.org/r${version}/dyncall-${version}.tar.gz";
|
||||
# https://www.dyncall.org/r1.3/SHA256
|
||||
sha256 = "sha256-q/Ys/DHr1/IWWNqhNwp3gcxRQxYrwIaDhKwH3vnj05A=";
|
||||
};
|
||||
|
||||
# XXX: broken tests, failures masked, lets avoid crashing a bunch for now :)
|
||||
doCheck = false;
|
||||
|
||||
# install bits not automatically installed
|
||||
postInstall = ''
|
||||
# install cmake modules to make using dyncall easier
|
||||
# This is essentially what -DINSTALL_CMAKE_MODULES=ON if using cmake build
|
||||
# We don't use the cmake-based build since it installs different set of headers
|
||||
# (mostly fewer headers, but installs dyncall_alloc_wx.h "instead" dyncall_alloc.h)
|
||||
# and we'd have to patch the cmake module installation to not use CMAKE_ROOT anyway :).
|
||||
install -D -t $out/lib/cmake ./buildsys/cmake/Modules/Find*.cmake
|
||||
|
||||
# manpages are nice, install them
|
||||
# doing this is in the project's "ToDo", so check this when updating!
|
||||
install -D -t $out/share/man/man3 ./*/*.3
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Highly dynamic multi-platform foreign function call interface library";
|
||||
homepage = "https://www.dyncall.org";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue