summary refs log tree commit diff
path: root/pkgs/development/libraries/librdf/rasqal.nix
blob: 6b7e2fcd89da90cb2585fc51795f8235e274e8ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 
    ];

  preConfigure = ''
    export NIX_LDFLAGS="$NIX_LDFLAGS -lraptor"
  '';

  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;
  };
}