updating redland, adding rasqal, raptor, librdf
svn path=/nixpkgs/trunk/; revision=17320
This commit is contained in:
parent
5f37146a97
commit
028f3ec7d0
19
pkgs/development/libraries/librdf/default.nix
Normal file
19
pkgs/development/libraries/librdf/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
name = "liblrdf-0.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/lrdf/liblrdf/0.4.0/liblrdf-0.4.0.tar.gz;
|
||||
sha256 = "015jv7pp0a0qxgljgdvf7d01nj4fx0zgzg0wayjp7v86pa38xscm";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig librdf_raptor ladspaH openssl zlib];
|
||||
|
||||
meta = {
|
||||
description = "A lightweight RDF library with special support for LADSPA plugins.";
|
||||
homepage = http://sourceforge.net/projects/lrdf/;
|
||||
license = "GPLv2";
|
||||
maintainers = [args.lib.maintainers.marcweber];
|
||||
platforms = args.lib.platforms.linux;
|
||||
};
|
||||
}
|
21
pkgs/development/libraries/librdf/raptor.nix
Normal file
21
pkgs/development/libraries/librdf/raptor.nix
Normal file
@ -0,0 +1,21 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
name = "raptor-1.4.19";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.librdf.org/source/raptor-1.4.19.tar.gz;
|
||||
sha256 = "0qpfl73dvkhngica7wk9qglvd0b3fp9wqnjkl5q8m6h1kf8605ml";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
#optional
|
||||
libxml2 curl];
|
||||
|
||||
meta = {
|
||||
description = "The RDF Parser Toolkit";
|
||||
homepage = "http://librdf.org/raptor";
|
||||
license = "LGPL-2.1 Apache-2.0";
|
||||
maintainers = [args.lib.maintainers.marcweber];
|
||||
platforms = args.lib.platforms.linux;
|
||||
};
|
||||
}
|
24
pkgs/development/libraries/librdf/rasqal.nix
Normal file
24
pkgs/development/libraries/librdf/rasqal.nix
Normal file
@ -0,0 +1,24 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
name = "rasqal-0.9.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://download.librdf.org/source/rasqal-0.9.16.tar.gz;
|
||||
sha256 = "1qvxbkynxwfw22hn2qbgxczzaq24h9649bcfbc598x9gq5m7hsq6";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
librdf_raptor
|
||||
gmp /*or mpfr*/
|
||||
#optional
|
||||
pcre libxml2
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "library that handles Resource Description Framework (RDF)";
|
||||
homepage = "http://librdf.org/rasqal";
|
||||
license = "LGPL-2.1 Apache-2.0";
|
||||
maintainers = [args.lib.maintainers.marcweber];
|
||||
platforms = args.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1,17 +1,18 @@
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "redland-1.0.7";
|
||||
name = "redland-1.0.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sf/librdf/${name}.tar.gz";
|
||||
sha256 = "1z160hhrnlyy5c8vh2hjza6kdfmzml8mg9dk8yffifkhnxjq5r2z";
|
||||
sha256 = "090mkrbssj9lm7hifkdrm7397sqcw0wx2ydz60iwrm2x9zcdx45a";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig];
|
||||
buildInputs = [pkgconfig librdf_raptor];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
|
||||
librdf_rasqal librdf_raptor
|
||||
];
|
||||
|
||||
configureFlags = "--with-threads --with-bdb=${bdb}";
|
||||
|
@ -4153,10 +4153,20 @@ let
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
librdf_raptor = import ../development/libraries/librdf/raptor.nix {
|
||||
inherit fetchurl stdenv lib libxml2 curl;
|
||||
};
|
||||
librdf_rasqal = import ../development/libraries/librdf/rasqal.nix {
|
||||
inherit fetchurl stdenv lib pcre libxml2 gmp librdf_raptor;
|
||||
};
|
||||
librdf = import ../development/libraries/librdf {
|
||||
inherit fetchurl stdenv lib pkgconfig librdf_raptor ladspaH openssl zlib;
|
||||
};
|
||||
|
||||
# Also known as librdf, includes raptor and rasqal
|
||||
redland = import ../development/libraries/redland {
|
||||
inherit fetchurl stdenv openssl libxml2 pkgconfig perl postgresql sqlite
|
||||
mysql libxslt curl pcre;
|
||||
mysql libxslt curl pcre librdf_rasqal librdf_raptor;
|
||||
bdb = db4;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user