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
|
|
|
|
'';
|
|
|
|
|
2014-11-06 00:44:33 +00:00
|
|
|
meta = {
|
2009-09-21 09:58:21 +00:00
|
|
|
description = "The RDF Parser Toolkit";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://librdf.org/raptor";
|
2014-11-06 00:44:33 +00:00
|
|
|
license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
|
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
|
|
|
};
|
|
|
|
}
|