@@ -1,12 +0,0 @@
|
||||
diff --git a/src/frontend/filter-datatypes.c b/src/frontend/filter-datatypes.c
|
||||
index 8aae1dd..49ed358 100644
|
||||
--- a/src/frontend/filter-datatypes.c
|
||||
+++ b/src/frontend/filter-datatypes.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#define __USE_MISC
|
||||
+#define __USE_XOPEN_EXTENDED
|
||||
#include <time.h>
|
||||
|
||||
#include "filter.h"
|
||||
@@ -1,50 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, librdf_raptor
|
||||
, librdf_rasqal, glib, libxml2, pcre
|
||||
, avahi, readline, ncurses, expat, autoreconfHook
|
||||
, zlib, pkgconfig, which, perl, libuuid
|
||||
, gmp, mpfr
|
||||
, db_dir ? "/var/lib/4store" }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "4store";
|
||||
version = "1.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "4store";
|
||||
repo = "4store";
|
||||
rev = "v${version}";
|
||||
sha256 = "1kzdfmwpzy64cgqlkcz5v4klwx99w0jk7afckyf7yqbqb4rydmpk";
|
||||
};
|
||||
|
||||
patches = [ ./4store-1.1.6-glibc-2.26.patch ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook perl pkgconfig which ];
|
||||
|
||||
buildInputs = [ librdf_raptor librdf_rasqal glib libxml2 pcre
|
||||
avahi readline ncurses expat zlib libuuid gmp mpfr ];
|
||||
|
||||
# needed for ./autogen.sh
|
||||
prePatch = ''
|
||||
echo "${version}" > .version
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's@#! */bin/bash@#! ${stdenv.shell}@' -i configure
|
||||
find . -name Makefile -exec sed -e "s@/usr/local@$out@g" -i '{}' ';'
|
||||
|
||||
rm src/utilities/4s-backend
|
||||
sed -e 's@/var/lib/4store@${db_dir}@g' -i configure.ac src/utilities/*
|
||||
sed -e '/FS_STORE_ROOT/d' -i src/utilities/Makefile*
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SparQL query server (RDF storage)";
|
||||
homepage = https://4store.danielknoell.de/;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = platforms.linux;
|
||||
broken = true; # since 2018-04-11
|
||||
};
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
rec {
|
||||
version="v1.1.5";
|
||||
name="4store-v1.1.5";
|
||||
hash="0nwckvf8xqwvc2h3v6s1rvmxvcx2xrjy6yapghc052180jw6zp9b";
|
||||
url="http://4store.org/download/4store-${version}.tar.gz";
|
||||
advertisedUrl="http://4store.org/download/4store-v1.1.5.tar.gz";
|
||||
|
||||
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
downloadPage = "http://4store.org/download/";
|
||||
baseName = "4store";
|
||||
choiceCommand = "tail -n 1";
|
||||
versionExtractorSedScript = "s@.*-(v[0-9.]+)[.].*@\\1@";
|
||||
}
|
||||
Reference in New Issue
Block a user