mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
32 lines
1005 B
Nix
32 lines
1005 B
Nix
{ lib, stdenv, fetchurl, librdf_raptor2, gmp, pkg-config, pcre, libxml2, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rasqal";
|
|
version = "0.9.33";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.librdf.org/source/rasqal-${version}.tar.gz";
|
|
sha256 = "0z6rrwn4jsagvarg8d5zf0j352kjgi33py39jqd29gbhcnncj939";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ gmp pcre libxml2 ];
|
|
|
|
propagatedBuildInputs = [ librdf_raptor2 ];
|
|
|
|
postInstall = "rm -rvf $out/share/gtk-doc";
|
|
|
|
nativeCheckInputs = [ perl ];
|
|
doCheck = false; # fails with "No testsuite plan file sparql-query-plan.ttl could be created in build/..."
|
|
doInstallCheck = false; # fails with "rasqal-config does not support (--help|--version)"
|
|
|
|
meta = {
|
|
description = "Library that handles Resource Description Framework (RDF)";
|
|
homepage = "https://librdf.org/rasqal";
|
|
license = with lib.licenses; [ lgpl21 asl20 ];
|
|
maintainers = with lib.maintainers; [ marcweber ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|