2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libxml2, curl }:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2010-06-29 22:18:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 21:14:04 +00:00
|
|
|
pname = "raptor";
|
|
|
|
version = "1.4.21";
|
2009-09-21 09:58:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-09 21:14:04 +00:00
|
|
|
url = "http://download.librdf.org/source/raptor-${version}.tar.gz";
|
2010-06-29 22:18:49 +00:00
|
|
|
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";
|
2021-07-31 17:01:50 +00:00
|
|
|
homepage = "https://librdf.org/raptor";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = with lib.licenses; [ lgpl21 asl20 ];
|
|
|
|
maintainers = [ lib.maintainers.marcweber ];
|
|
|
|
platforms = lib.platforms.linux;
|
2009-09-21 09:58:21 +00:00
|
|
|
};
|
|
|
|
}
|