nixpkgs/pkgs/development/libraries/librdf/raptor.nix
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

26 lines
634 B
Nix

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