Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, zlib, pkg-config, glib, libgsf, libxml2, librevenge }: 2 3stdenv.mkDerivation rec { 4 pname = "libwpd"; 5 version = "0.10.0"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.xz"; 9 sha256 = "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx"; 10 }; 11 12 buildInputs = [ glib libgsf libxml2 zlib librevenge ]; 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 meta = with lib; { 17 description = "A library for importing and exporting WordPerfect documents"; 18 homepage = "https://libwpd.sourceforge.net/"; 19 license = licenses.lgpl21; 20 platforms = platforms.unix; 21 }; 22}