2010-07-28 11:55:54 +00:00
|
|
|
{ stdenv, fetchurl, libxml2, curl }:
|
|
|
|
|
2010-06-29 22:18:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "raptor-1.4.21";
|
2009-09-21 09:58:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-06-29 22:18:49 +00:00
|
|
|
url = "http://download.librdf.org/source/${name}.tar.gz";
|
|
|
|
sha256 = "db3172d6f3c432623ed87d7d609161973d2f7098e3d2233d0702fbcc22cfd8ca";
|
2009-09-21 09:58:21 +00:00
|
|
|
};
|
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
buildInputs = [ libxml2 curl ];
|
2009-09-21 09:58:21 +00:00
|
|
|
|
2011-11-08 10:07:03 +00:00
|
|
|
preBuild = ''
|
|
|
|
sed -e '/curl\/types/d' -i src/*.c src/*.h
|
|
|
|
'';
|
|
|
|
|
2009-09-21 09:58:21 +00:00
|
|
|
meta = {
|
|
|
|
description = "The RDF Parser Toolkit";
|
|
|
|
homepage = "http://librdf.org/raptor";
|
|
|
|
license = "LGPL-2.1 Apache-2.0";
|
2010-07-28 11:55:54 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-21 09:58:21 +00:00
|
|
|
};
|
|
|
|
}
|