summary refs log tree commit diff
path: root/pkgs/development/libraries/librdf/raptor.nix
blob: 8d1b1f2a0ea4d17bc9750538736ad613b97e2d3e (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
{ lib, stdenv, fetchurl, libxml2, curl }:

stdenv.mkDerivation rec {
  name = "raptor-1.4.21";

  src = fetchurl {
    url = "http://download.librdf.org/source/${name}.tar.gz";
    sha256 = "db3172d6f3c432623ed87d7d609161973d2f7098e3d2233d0702fbcc22cfd8ca";
  };

  buildInputs = [ libxml2 curl ];

  preBuild = ''
    sed -e '/curl\/types/d' -i src/*.c src/*.h
  '';

  meta = {
    description = "The RDF Parser Toolkit";
    homepage = "http://librdf.org/raptor";
    license = with lib.licenses; [ lgpl21 asl20 ];
    maintainers = [ lib.maintainers.marcweber ];
    platforms = lib.platforms.linux;
  };
}