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
34
pkgs/development/libraries/libblocksruntime/default.nix
Normal file
34
pkgs/development/libraries/libblocksruntime/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchFromGitHub, clang }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "blocksruntime";
|
||||
version = "unstable-2014-06-24";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mackyle";
|
||||
repo = "blocksruntime";
|
||||
rev = "b5c5274daf1e0e46ecc9ad8f6f69889bce0a0a5d";
|
||||
sha256 = "0ic4lagagkylcvwgf10mg0s1i57h4i25ds2fzvms22xj4zwzk1sd";
|
||||
};
|
||||
|
||||
buildInputs = [ clang ];
|
||||
|
||||
configurePhase = ''
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
'';
|
||||
|
||||
buildPhase = "./buildlib";
|
||||
|
||||
checkPhase = "./checktests";
|
||||
|
||||
doCheck = false; # hasdescriptor.c test fails, hrm.
|
||||
|
||||
installPhase = ''prefix="/" DESTDIR=$out ./installlib'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Installs the BlocksRuntime library from the compiler-rt";
|
||||
homepage = "https://github.com/mackyle/blocksruntime";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue