2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, librdf_raptor, gmp, pkgconfig, pcre, libxml2 }:
|
|
|
|
|
2010-06-30 23:51:48 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rasqal-0.9.19";
|
2009-09-21 11:58:21 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-06-30 23:51:48 +02:00
|
|
|
url = "http://download.librdf.org/source/${name}.tar.gz";
|
|
|
|
sha256 = "a042846e8b7af52d9d66fba788c9d579e58c535cfaf80d33dc0bd69bf6ffeb08";
|
2009-09-21 11:58:21 +02:00
|
|
|
};
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildInputs = [ librdf_raptor gmp /*or mpfr*/ pkgconfig pcre libxml2 ];
|
2009-09-21 11:58:21 +02:00
|
|
|
|
2010-06-30 07:44:33 +02:00
|
|
|
preConfigure = ''
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lraptor"
|
|
|
|
'';
|
|
|
|
|
2009-09-21 11:58:21 +02:00
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Library that handles Resource Description Framework (RDF)";
|
2009-09-21 11:58:21 +02:00
|
|
|
homepage = "http://librdf.org/rasqal";
|
|
|
|
license = "LGPL-2.1 Apache-2.0";
|
2010-07-28 13:55:54 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-21 11:58:21 +02:00
|
|
|
};
|
|
|
|
}
|