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