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