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
31
pkgs/servers/http/redstore/default.nix
Normal file
31
pkgs/servers/http/redstore/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchurl, redland, pkg-config, gmp, zlib, librdf_raptor2
|
||||
, librdf_rasqal }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "redstore";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.aelius.com/njh/redstore/redstore-${version}.tar.gz";
|
||||
sha256 = "0hc1fjfbfvggl72zqx27v4wy84f5m7bp4dnwd8g41aw8lgynbgaq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ gmp redland zlib librdf_raptor2 librdf_rasqal ];
|
||||
|
||||
preConfigure = ''
|
||||
# Define _XOPEN_SOURCE to enable, e.g., getaddrinfo.
|
||||
configureFlagsArray+=(
|
||||
"CFLAGS=-D_XOPEN_SOURCE=600 -I${librdf_raptor2}/include/raptor2 -I${librdf_rasqal}/include/rasqal"
|
||||
)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An HTTP interface to Redland RDF store";
|
||||
homepage = "https://www.aelius.com/njh/redstore/";
|
||||
maintainers = [ lib.maintainers.raskin ];
|
||||
platforms = with lib.platforms;
|
||||
linux ++ freebsd ++ gnu;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue