1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/librdf/raptor.nix
Michael Raskin d5a21a68e5 Fix raptor build - curl dropped curl/types.h
svn path=/nixpkgs/trunk/; revision=30315
2011-11-08 10:07:03 +00:00

25 lines
607 B
Nix

{ stdenv, fetchurl, libxml2, curl }:
stdenv.mkDerivation rec {
name = "raptor-1.4.21";
src = fetchurl {
url = "http://download.librdf.org/source/${name}.tar.gz";
sha256 = "db3172d6f3c432623ed87d7d609161973d2f7098e3d2233d0702fbcc22cfd8ca";
};
buildInputs = [ libxml2 curl ];
preBuild = ''
sed -e '/curl\/types/d' -i src/*.c src/*.h
'';
meta = {
description = "The RDF Parser Toolkit";
homepage = "http://librdf.org/raptor";
license = "LGPL-2.1 Apache-2.0";
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}