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