2018-07-21 00:44:44 +00:00
|
|
|
{ stdenv, fetchurl, libxml2, libxslt }:
|
2011-07-11 10:49:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-11-08 13:29:58 +00:00
|
|
|
pname = "raptor2";
|
|
|
|
version = "2.0.15";
|
2011-07-11 10:49:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-11-08 13:29:58 +00:00
|
|
|
url = "http://download.librdf.org/source/${pname}-${version}.tar.gz";
|
2014-11-09 11:33:59 +00:00
|
|
|
sha256 = "ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed";
|
2011-07-11 10:49:21 +00:00
|
|
|
};
|
|
|
|
|
2020-11-08 13:29:58 +00:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
name = "CVE-2017-18926.patch";
|
|
|
|
url = "https://github.com/dajobe/raptor/commit/590681e546cd9aa18d57dc2ea1858cb734a3863f.patch";
|
|
|
|
sha256 = "1qlpb5rm3j2yi0x6zgdi5apymg5zlvwq3g1zl417gkjrlvxmndgp";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2011-07-11 10:49:21 +00:00
|
|
|
buildInputs = [ libxml2 libxslt ];
|
|
|
|
|
2011-08-15 18:04:40 +00:00
|
|
|
postInstall = "rm -rvf $out/share/gtk-doc";
|
2011-07-11 10:49:21 +00:00
|
|
|
|
2013-03-02 14:45:13 +00:00
|
|
|
meta = {
|
2011-07-11 10:49: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 ];
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ marcweber ];
|
2018-05-22 00:52:43 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-07-11 10:49:21 +00:00
|
|
|
};
|
|
|
|
}
|