1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/libraries/librdf/raptor.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

25 lines
625 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 = with stdenv.lib.licenses; [ lgpl21 asl20 ];
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux;
};
}