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
43
pkgs/development/web/kore/default.nix
Normal file
43
pkgs/development/web/kore/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchFromGitHub, openssl, curl, postgresql, yajl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kore";
|
||||
version = "4.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jorisvink";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-MC4PCjRuAqWuGvNDsZXKohb4HdSWMV0Oc0pZ0rnhG7Y=";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl curl postgresql yajl ];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"ACME=1"
|
||||
"CURL=1"
|
||||
"TASKS=1"
|
||||
"PGSQL=1"
|
||||
"JSONRPC=1"
|
||||
"DEBUG=1"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
make platform.h
|
||||
'';
|
||||
|
||||
# added to fix build w/gcc7 and clang5
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
|
||||
+ lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An easy to use web application framework for C";
|
||||
homepage = "https://kore.io";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ johnmh ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue