Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 42 lines 718 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 zlib, 6 pkg-config, 7 glib, 8 libgsf, 9 libxml2, 10 librevenge, 11 boost, 12}: 13 14stdenv.mkDerivation rec { 15 pname = "libwpd"; 16 version = "0.10.3"; 17 18 src = fetchurl { 19 url = "mirror://sourceforge/libwpd/libwpd-${version}.tar.xz"; 20 hash = "sha256-JGWwtmL9xdTjvrzcmnkCdxP7Ypyiv/BKPJJR/exC3Qk="; 21 }; 22 23 patches = [ ./gcc-1.0.patch ]; 24 25 buildInputs = [ 26 glib 27 libgsf 28 libxml2 29 zlib 30 librevenge 31 boost 32 ]; 33 34 nativeBuildInputs = [ pkg-config ]; 35 36 meta = with lib; { 37 description = "Library for importing and exporting WordPerfect documents"; 38 homepage = "https://libwpd.sourceforge.net/"; 39 license = licenses.lgpl21; 40 platforms = platforms.unix; 41 }; 42}