1 { lib, stdenv, fetchurl, librdf_raptor2, gmp, pkg-config, pcre, libxml2, perl }:
3 stdenv.mkDerivation rec {
8 url = "http://download.librdf.org/source/rasqal-${version}.tar.gz";
9 sha256 = "0z6rrwn4jsagvarg8d5zf0j352kjgi33py39jqd29gbhcnncj939";
12 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ gmp pcre libxml2 ];
16 propagatedBuildInputs = [ librdf_raptor2 ];
18 postInstall = "rm -rvf $out/share/gtk-doc";
20 nativeCheckInputs = [ perl ];
21 doCheck = false; # fails with "No testsuite plan file sparql-query-plan.ttl could be created in build/..."
22 doInstallCheck = false; # fails with "rasqal-config does not support (--help|--version)"
25 description = "Library that handles Resource Description Framework (RDF)";
26 homepage = "https://librdf.org/rasqal";
27 license = with lib.licenses; [ lgpl21 asl20 ];
28 maintainers = with lib.maintainers; [ marcweber ];
29 platforms = lib.platforms.unix;