Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libreoffice: 5.0.0.5 -> 5.0.1.2, refactor

I've extracted some of libraries and made expression simpler.

(cherry picked from commit 66e6f99d40350a4b2a235913a1fa77d88b1a44a6)
Signed-off-by: Domen Kožar <domen@dev.si>

+138 -277
+1 -5
pkgs/applications/editors/jedit/default.nix
··· 1 - { stdenv, fetchurl, ant, jdk, commonsBsf, commonsLogging }: 1 + { stdenv, fetchurl, ant, jdk, commonsBsf, commonsLogging, bsh }: 2 2 3 3 let 4 4 version = "5.2.0"; 5 - bsh = fetchurl { 6 - url = http://www.beanshell.org/bsh-2.0b5.jar; 7 - sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2"; 8 - }; 9 5 bcpg = fetchurl { 10 6 url = http://central.maven.org/maven2/org/bouncycastle/bcpg-jdk16/1.46/bcpg-jdk16-1.46.jar; 11 7 sha256 = "16xhmwks4l65m5x150nd23y5lyppha9sa5fj65rzhxw66gbli82d";
+41 -88
pkgs/applications/office/libreoffice/default.nix
··· 1 - # when updating version, wait for the build to fail 2 - # run make without sourcing the environment and let libreoffice 3 - # download all extra files 4 - # then list extra files separated by newline and pipe them to 5 - # generate-libreoffice-srcs.sh and copy output to libreoffice-srcs.nix 6 - 7 1 { stdenv, fetchurl, pam, python3, tcsh, libxslt, perl, ArchiveZip 8 2 , CompressZlib, zlib, libjpeg, expat, pkgconfigUpstream, freetype, libwpd 9 3 , libxml2, db, sablotron, curl, fontconfig, libsndfile, neon 10 4 , bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which 11 - , icu, boost, jdk, ant, cups, xorg 5 + , icu, boost, jdk, ant, cups, xorg, libcmis 12 6 , openssl, gperf, cppunit, GConf, ORBit2, poppler 13 - , librsvg, gnome_vfs, mesa 7 + , librsvg, gnome_vfs, mesa, bsh, CoinMP, libwps, libabw 14 8 , autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr 15 9 , libwpg, dbus_glib, glibc, qt4, kde4, clucene_core, libcdr, lcms, vigra 16 10 , unixODBC, mdds, saneBackends, mythes, libexttextcat, libvisio 17 11 , fontsConf, pkgconfig, libzip, bluez5, libtool, maven 18 12 , libatomic_ops, graphite2, harfbuzz, libodfgen 19 13 , librevenge, libe-book, libmwaw, glm, glew, gst_all_1 20 - , gdb 14 + , gdb, commonsLogging 21 15 , langs ? [ "en-US" "en-GB" "ca" "ru" "eo" "fr" "nl" "de" "sl" ] 22 16 , withHelp ? true 23 17 }: ··· 26 20 langsSpaces = stdenv.lib.concatStringsSep " " langs; 27 21 major = "5"; 28 22 minor = "0"; 29 - patch = "0"; 30 - tweak = "5"; 23 + patch = "1"; 24 + tweak = "2"; 31 25 subdir = "${major}.${minor}.${patch}"; 32 26 version = "${subdir}${if tweak == "" then "" else "."}${tweak}"; 33 27 34 - # doesn't exist in srcs 35 - # 0.8 version is in 0.7.0 tarball 36 - libixion = stdenv.mkDerivation rec { 37 - version = "0.7.0"; 38 - name = "libixion-${version}"; 39 - 40 - src = fetchurl { 41 - url = "http://kohei.us/files/ixion/src/${name}.tar.bz2"; 42 - sha256 = "10amvz7fzr1kcy3svfspkdykmspqgpjdmk44cyr406wi7v4lwnf9"; 43 - }; 44 - 45 - buildInputs = [ boost mdds pkgconfig ]; 46 - 47 - configureFlags = [ "--with-boost=${boost.dev}" ]; 48 - }; 49 - 50 28 fetchThirdParty = {name, md5, brief, subDir ? ""}: fetchurl { 51 29 inherit name md5; 52 30 url = if brief then ··· 55 33 "http://dev-www.libreoffice.org/src/${subDir}${md5}-${name}"; 56 34 }; 57 35 58 - # Can't find Boost inside LO build 59 - liborcus = stdenv.mkDerivation rec { 60 - name = "liborcus-0.7.0"; 61 - src = fetchThirdParty (stdenv.lib.findFirst 62 - (x: x.name == "${name}.tar.bz2") 63 - ("Error: update liborcus version inside LO expression") 64 - (import ./libreoffice-srcs.nix)); 65 - 66 - buildInputs = [ boost mdds pkgconfig zlib /*libixion*/ ]; 67 - 68 - configureFlags = [ "--with-boost=${boost.dev}" ]; 69 - }; 70 - 71 36 fetchSrc = {name, sha256}: fetchurl { 72 37 url = "http://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${name}-${version}.tar.xz"; 73 38 inherit sha256; ··· 82 47 83 48 translations = fetchSrc { 84 49 name = "translations"; 85 - sha256 = "0x86vf1fhgnjgkj25rqcfgrvid6smikmb96121sasydmg0jcsypm"; 50 + sha256 = "0z8qf4ri8wmzgc5601fxcwxwym1h9rwk0kaqpxhqbkj04h9z0xq7"; 86 51 }; 87 52 88 53 # TODO: dictionaries 89 54 90 55 help = fetchSrc { 91 56 name = "help"; 92 - sha256 = "18wqmbm3yvjz6pfnz5qfklwv4d53vrv2npiz3796d4d1j245ylcv"; 57 + sha256 = "0iz9jz0ppghzh33kzw7v0xqchim9brys6mnmlk74nzrhci2vj7f7"; 93 58 }; 94 59 95 60 }; 96 - in 97 - stdenv.mkDerivation rec { 61 + in stdenv.mkDerivation rec { 98 62 name = "libreoffice-${version}"; 99 63 100 64 src = fetchurl { 101 65 url = "http://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz"; 102 - sha256 = "046f5lakw2rygs5qjmhsxmdw7pa9gwcamavnyqpk1rfbis2ga5wv"; 66 + sha256 = "06nj1wnx09a6v3kx9k48810mkb19dbkaln1af33f4m7bxg5bjl87"; 103 67 }; 104 68 105 69 # Openoffice will open libcups dynamically, so we link it directly ··· 119 83 ln -svf ${srcs.translations} $sourceRoot/src/${srcs.translations.name} 120 84 ''; 121 85 122 - patchPhase = '' 123 - find . -type f -print0 | xargs -0 sed -i \ 124 - -e 's,! */bin/bash,!${bash}/bin/bash,' -e 's,\(!\|SHELL=\) */usr/bin/env bash,\1${bash}/bin/bash,' \ 125 - -e 's,! */usr/bin/perl,!${perl}/bin/perl,' -e 's,! */usr/bin/env perl,!${perl}/bin/perl,' \ 126 - -e 's,! */usr/bin/python,!${python3}/bin/${python3.executable},' -e 's,! */usr/bin/env python,!${python3}/bin/${python3.executable},' 127 - #sed -i 's,ANT_OPTS+="\(.*\)",ANT_OPTS+=\1,' apache-commons/java/*/makefile.mk 128 - 129 - ''; 130 - 131 86 QT4DIR = qt4; 132 87 KDE4DIR = kde4.kdelibs; 133 88 134 89 preConfigure = '' 135 - # Needed to find genccode 136 - PATH=$PATH:${icu}/sbin 137 - 138 90 configureFlagsArray=( 139 91 "--with-parallelism=$NIX_BUILD_CORES" 140 92 "--with-lang=${langsSpaces}" 141 - "${if withHelp then "" else "--without-help"}" 142 - 143 93 ); 144 94 145 95 chmod a+x ./bin/unpack-sources 96 + patchShebangs . 146 97 # It is used only as an indicator of the proper current directory 147 98 touch solenv/inc/target.mk 148 99 ''; ··· 167 118 # This is required as some cppunittests require fontconfig configured 168 119 export FONTCONFIG_FILE=${fontsConf} 169 120 170 - # This to aovid using /lib:/usr/lib at linking 121 + # This to avoid using /lib:/usr/lib at linking 171 122 sed -i '/gb_LinkTarget_LDFLAGS/{ n; /rpath-link/d;}' solenv/gbuild/platform/unxgcc.mk 172 123 173 124 find -name "*.cmd" -exec sed -i s,/lib:/usr/lib,, {} \; ··· 177 128 178 129 # It installs only things to $out/lib/libreoffice 179 130 postInstall = '' 180 - mkdir -p $out/bin $out/share 131 + mkdir -p $out/bin $out/share/desktop 132 + 181 133 for a in sbase scalc sdraw smath swriter spadmin simpress soffice; do 182 134 ln -s $out/lib/libreoffice/program/$a $out/bin/$a 183 135 done 184 - ln -s $out/bin/soffice $out/bin/libreoffice 185 136 137 + ln -s $out/bin/soffice $out/bin/libreoffice 186 138 ln -s $out/lib/libreoffice/share/xdg $out/share/applications 139 + 187 140 for f in $out/share/applications/*.desktop; do 188 141 substituteInPlace "$f" --replace "Exec=libreofficedev${major}.${minor}" "Exec=libreoffice" 189 142 substituteInPlace "$f" --replace "Exec=libreoffice${major}.${minor}" "Exec=libreoffice" 190 143 substituteInPlace "$f" --replace "Exec=libreoffice" "Exec=libreoffice" 191 144 done 192 145 193 - mkdir -p "$out/share/desktop" 194 146 cp -r sysui/desktop/icons "$out/share" 195 147 sed -re 's@Icon=libreofficedev[0-9.]*-?@Icon=@' -i "$out/share/applications/"*.desktop 196 148 ''; 197 149 198 150 configureFlags = [ 151 + "${if withHelp then "" else "--without-help"}" 199 152 "--with-boost=${boost.dev}" 200 153 "--with-boost-libdir=${boost.lib}/lib" 154 + "--with-beanshell-jar=${bsh}" 201 155 "--with-vendor=NixOS" 202 - 203 - # Without these, configure does not finish 204 - "--without-junit" 205 - 206 - # Without this, it wants to download 156 + "--with-commons-logging-jar=${commonsLogging}/share/java/commons-logging-1.2.jar" 157 + "--disable-report-builder" 207 158 "--enable-python=system" 208 159 "--enable-dbus" 209 160 "--enable-kde4" 210 - "--disable-odk" 161 + "--with-package-format=installed" 162 + "--enable-epm" 163 + "--with-jdk-home=${jdk.home}" 164 + "--with-ant-home=${ant}/lib/ant" 211 165 "--with-system-cairo" 212 166 "--with-system-libs" 213 167 "--with-system-headers" 214 168 "--with-system-openssl" 169 + "--with-system-libabw" 170 + "--with-system-libcmis" 171 + "--with-system-libwps" 215 172 "--with-system-openldap" 216 - "--without-system-libwps" # TODO 217 - "--without-doxygen" 173 + "--with-system-coinmp" 174 + 175 + # Without these, configure does not finish 176 + "--without-junit" 218 177 219 178 # I imagine this helps. Copied from go-oo. 220 179 # Modified on every upgrade, though 221 180 "--disable-kde" 181 + "--disable-odk" 222 182 "--disable-postgresql-sdbc" 223 - "--with-package-format=installed" 224 - "--enable-epm" 225 - "--with-jdk-home=${jdk.home}" 226 - "--with-ant-home=${ant}/lib/ant" 183 + "--disable-firebird-sdbc" 227 184 "--without-fonts" 228 185 "--without-myspell-dicts" 229 - "--without-system-beanshell" 186 + "--without-doxygen" 187 + 188 + # TODO: package these as system libraries 189 + "--with-system-beanshell" 230 190 "--without-system-hsqldb" 231 - "--without-system-jars" 232 191 "--without-system-altlinuxhyph" 233 192 "--without-system-lpsolve" 234 193 "--without-system-npapi-headers" 235 - "--without-system-libcmis" 236 - 237 194 "--without-system-libetonyek" 238 195 "--without-system-libfreehand" 239 - "--without-system-libabw" 240 - "--without-system-firebird" 241 196 "--without-system-liblangtag" 242 197 "--without-system-libmspub" 243 - 244 198 "--without-system-libpagemaker" 245 - "--without-system-coinmp" 246 199 "--without-system-libgltf" 247 - 200 + # https://github.com/NixOS/nixpkgs/commit/5c5362427a3fa9aefccfca9e531492a8735d4e6f 248 201 "--without-system-orcus" 249 202 ]; 250 203 ··· 260 213 hunspell icu jdk kde4.kdelibs lcms libcdr libexttextcat unixODBC libjpeg 261 214 libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11 262 215 libXaw libXext libXi libXinerama libxml2 libxslt libXtst 263 - libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer 216 + libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer 264 217 gst_all_1.gst-plugins-base 265 218 neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler 266 219 python3 sablotron saneBackends tcsh unzip vigra which zip zlib 267 - mdds bluez5 glibc 220 + mdds bluez5 glibc libcmis libwps libabw 268 221 libxshmfence libatomic_ops graphite2 harfbuzz 269 222 librevenge libe-book libmwaw glm glew 270 - libodfgen 223 + libodfgen CoinMP 271 224 ]; 272 225 273 226 meta = with stdenv.lib; { 274 227 description = "Comprehensive, professional-quality productivity suite, a variant of openoffice.org"; 275 228 homepage = http://libreoffice.org/; 276 229 license = licenses.lgpl3; 277 - maintainers = [ maintainers.viric maintainers.raskin ]; 230 + maintainers = with maintainers; [ viric raskin ]; 278 231 platforms = platforms.linux; 279 232 }; 280 233 }
-44
pkgs/applications/office/libreoffice/generate-libreoffice-srcs.sh
··· 1 - #!/run/current-system/sw/bin/bash 2 - 3 - # Take the list of files from the main package, ooo.lst.in 4 - 5 - cat <<EOF 6 - [ 7 - EOF 8 - 9 - write_entry(){ 10 - echo '{' 11 - echo " name = \"${name}\";" 12 - echo " md5 = \"${md5}\";" 13 - echo " brief = ${brief};" 14 - echo '}' 15 - } 16 - 17 - while read line; do 18 - case "$line" in 19 - \#*) 20 - echo Skipping comment: "$line" >&2; 21 - ;; 22 - *_MD5SUM\ :=*) 23 - read tbline; 24 - line=${line##* }; 25 - tbline=${tbline##* }; 26 - md5=$line 27 - name=$tbline; 28 - brief=true; 29 - write_entry; 30 - ;; 31 - *_TARBALL\ :=*) 32 - line=${line##* }; 33 - md5=${line:0:32}; 34 - name=${line:33}; 35 - brief=false; 36 - write_entry; 37 - ;; 38 - *) 39 - echo Skipping: "$line" >&2; 40 - ;; 41 - esac 42 - done 43 - 44 - echo ']'
+1 -140
pkgs/applications/office/libreoffice/libreoffice-srcs.nix
··· 1 + # DEPRECATED: these dependencies sould be system libraries 1 2 [ 2 - { 3 - name = "libabw-0.1.1.tar.bz2"; 4 - md5 = "7a3815b506d064313ba309617b6f5a0b"; 5 - brief = true; 6 - } 7 3 { 8 4 name = "commons-codec-1.6-src.tar.gz"; 9 5 md5 = "2e482c7567908d334785ce7d69ddfff7"; ··· 45 41 brief = true; 46 42 } 47 43 { 48 - name = "boost_1_55_0.tar.bz2"; 49 - md5 = "d6eef4b4cacb2183f2bf265a5a03a354"; 50 - brief = false; 51 - } 52 - { 53 - name = "bsh-2.0b5-src.zip"; 54 - md5 = "ec1941a74d3ef513c4ce57a9092b74e1"; 55 - brief = false; 56 - } 57 - { 58 - name = "cairo-1.10.2.tar.gz"; 59 - md5 = "f101a9e88b783337b20b2e26dfd26d5f"; 60 - brief = false; 61 - } 62 - { 63 - name = "libcdr-0.1.1.tar.bz2"; 64 - md5 = "b33fd0be3befdd1b37777e08ce058bd9"; 65 - brief = true; 66 - } 67 - { 68 44 name = "clucene-core-2.3.3.4.tar.gz"; 69 45 md5 = "48d647fbd8ef8889e5a7f422c1bfda94"; 70 46 brief = false; 71 - } 72 - { 73 - name = "libcmis-0.5.0.tar.gz"; 74 - md5 = "5821b806a98e6c38370970e682ce76e8"; 75 - brief = false; 76 - } 77 - { 78 - name = "CoinMP-1.7.6.tgz"; 79 - md5 = "1cce53bf4b40ae29790d2c5c9f8b1129"; 80 - brief = true; 81 47 } 82 48 { 83 49 name = "collada2gltf-master-cb1d97788a.tar.bz2"; ··· 85 51 brief = false; 86 52 } 87 53 { 88 - name = "cppunit-1.13.2.tar.gz"; 89 - md5 = "d1c6bdd5a76c66d2c38331e2d287bc01"; 90 - brief = true; 91 - } 92 - { 93 54 name = "ConvertTextToNumber-1.3.2.oxt"; 94 55 md5 = "451ccf439a36a568653b024534669971"; 95 56 brief = false; 96 - } 97 - { 98 - name = "curl-7.43.0.tar.bz2"; 99 - md5 = "11bddbb452a8b766b932f859aaeeed39"; 100 - brief = true; 101 57 } 102 58 { 103 59 name = "libe-book-0.1.2.tar.bz2"; ··· 120 76 brief = false; 121 77 } 122 78 { 123 - name = "Firebird-2.5.2.26540-0.tar.bz2"; 124 - md5 = "21154d2004e025c8a3666625b0357bb5"; 125 - brief = true; 126 - } 127 - { 128 - name = "fontconfig-2.8.0.tar.gz"; 129 - md5 = "77e15a92006ddc2adbb06f840d591c0e"; 130 - brief = false; 131 - } 132 - { 133 79 name = "crosextrafonts-20130214.tar.gz"; 134 80 md5 = "368f114c078f94214a308a74c7e991bc"; 135 81 brief = false; ··· 192 138 { 193 139 name = "freetype-2.4.8.tar.bz2"; 194 140 md5 = "dbf2caca1d3afd410a29217a9809d397"; 195 - brief = false; 196 - } 197 - { 198 - name = "glew-1.10.0.zip"; 199 - md5 = "594eb47b4b1210e25438d51825404d5a"; 200 - brief = false; 201 - } 202 - { 203 - name = "glm-0.9.4.6-libreoffice.zip"; 204 - md5 = "bae83fa5dc7f081768daace6e199adc3"; 205 141 brief = false; 206 142 } 207 143 { ··· 290 226 brief = false; 291 227 } 292 228 { 293 - name = "jpegsrc.v9a.tar.gz"; 294 - md5 = "3353992aecaee1805ef4109aadd433e7"; 295 - brief = true; 296 - } 297 - { 298 - name = "libjpeg-turbo-1.3.1.tar.gz"; 299 - md5 = "2c3a68129dac443a72815ff5bb374b05"; 300 - brief = true; 301 - } 302 - { 303 229 name = "language-subtag-registry-2015-06-08.tar.bz2"; 304 230 md5 = "d431bd8a70455be1fa8523fa633c005b"; 305 231 brief = true; ··· 346 272 brief = false; 347 273 } 348 274 { 349 - name = "libxml2-2.9.1.tar.gz"; 350 - md5 = "9c0cfef285d5c4a5c80d00904ddab380"; 351 - brief = false; 352 - } 353 - { 354 - name = "libxslt-1.1.28.tar.gz"; 355 - md5 = "9667bf6f9310b957254fdcf6596600b7"; 356 - brief = false; 357 - } 358 - { 359 275 name = "lp_solve_5.5.tar.gz"; 360 276 md5 = "26b3e95ddf3d9c077c480ea45874b3b8"; 361 277 brief = false; 362 278 } 363 279 { 364 - name = "mariadb_client-2.0.0-src.tar.gz"; 365 - md5 = "a233181e03d3c307668b4c722d881661"; 366 - brief = false; 367 - } 368 - { 369 280 name = "mdds_0.12.1.tar.bz2"; 370 281 md5 = "ef2560ed5416652a7fe195305b14cebe"; 371 282 brief = true; ··· 411 322 brief = true; 412 323 } 413 324 { 414 - name = "openldap-2.4.31.tgz"; 415 - md5 = "804c6cb5698db30b75ad0ff1c25baefd"; 416 - brief = false; 417 - } 418 - { 419 - name = "openssl-1.0.2a.tar.gz"; 420 - md5 = "a06c547dac9044161a477211049f60ef"; 421 - brief = true; 422 - } 423 - { 424 325 name = "liborcus-0.7.0.tar.bz2"; 425 326 md5 = "7681383be6ce489d84c1c74f4e7f9643"; 426 327 brief = false; ··· 446 347 brief = true; 447 348 } 448 349 { 449 - name = "postgresql-9.2.1.tar.bz2"; 450 - md5 = "c0b4799ea9850eae3ead14f0a60e9418"; 451 - brief = false; 452 - } 453 - { 454 - name = "Python-3.3.5.tgz"; 455 - md5 = "803a75927f8f241ca78633890c798021"; 456 - brief = true; 457 - } 458 - { 459 350 name = "raptor2-2.0.9.tar.gz"; 460 351 md5 = "4ceb9316488b0ea01acf011023cf7fff"; 461 352 brief = false; ··· 496 387 brief = false; 497 388 } 498 389 { 499 - name = "vigra1.6.0.tar.gz"; 500 - md5 = "d62650a6f908e85643e557a236ea989c"; 501 - brief = false; 502 - } 503 - { 504 - name = "libvisio-0.1.1.tar.bz2"; 505 - md5 = "726c1f5be65eb7d649e0d48b63d920e7"; 506 - brief = true; 507 - } 508 - { 509 - name = "libwpd-0.10.0.tar.bz2"; 510 - md5 = "0773d79a1f240ef9f4f20242b13c5bb7"; 511 - brief = true; 512 - } 513 - { 514 - name = "libwpg-0.3.0.tar.bz2"; 515 - md5 = "17da9770cb8b317b7633f9807b32b71a"; 516 - brief = true; 517 - } 518 - { 519 - name = "libwps-0.4.0.tar.bz2"; 520 - md5 = "e9162d2566421d9d71b3ad2377a68fd5"; 521 - brief = true; 522 - } 523 - { 524 390 name = "xsltml_2.1.2.zip"; 525 391 md5 = "a7983f859eafb2677d7ff386a023bc40"; 526 392 brief = false; 527 - } 528 - { 529 - name = "zlib-1.2.8.tar.gz"; 530 - md5 = "44d667c142d7cda120332623eab69f40"; 531 - brief = true; 532 393 } 533 394 ]
+18
pkgs/development/libraries/CoinMP/default.nix
··· 1 + { stdenv, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "CoinMP-${version}"; 5 + version = "1.7.6"; 6 + 7 + src = fetchurl { 8 + url = "http://www.coin-or.org/download/source/CoinMP/${name}.tgz"; 9 + sha256 = "0gqi2vqkg35gazzzv8asnhihchnbjcd6bzjfzqhmj7wy1dw9iiw6"; 10 + }; 11 + 12 + meta = with stdenv.lib; { 13 + homepage = https://projects.coin-or.org/CoinMP/; 14 + description = "COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL"; 15 + platforms = platforms.linux; 16 + license = licenses.epl10; 17 + }; 18 + }
+20
pkgs/development/libraries/libabw/default.nix
··· 1 + { stdenv, fetchurl, boost, doxygen, gperf, pkgconfig, librevenge, libxml2, perl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libabw-${version}"; 5 + version = "0.1.1"; 6 + 7 + src = fetchurl { 8 + url = "http://dev-www.libreoffice.org/src/libabw/${name}.tar.xz"; 9 + sha256 = "0zi1zj4fpxgpglbbb5n1kg3dmhqq5rpf46lli89r5daavp19iing"; 10 + }; 11 + 12 + buildInputs = [ boost doxygen gperf pkgconfig librevenge libxml2 perl ]; 13 + 14 + meta = with stdenv.lib; { 15 + homepage = https://wiki.documentfoundation.org/DLP/Libraries/libabw; 16 + description = "Library parsing abiword documents"; 17 + platforms = platforms.linux; 18 + license = licenses.mpl20; 19 + }; 20 + }
+24
pkgs/development/libraries/libcmis/default.nix
··· 1 + { stdenv, fetchurl, boost, libxml2, pkgconfig, curl }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libcmis-${version}"; 5 + version = "0.5.0"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/libcmis/${name}.tar.gz"; 9 + sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8"; 10 + }; 11 + 12 + buildInputs = [ boost libxml2 pkgconfig curl ]; 13 + configureFlags = "--without-man --with-boost=${boost.dev} --disable-werror --disable-tests"; 14 + 15 + # Cppcheck cannot find all the include files (use --check-config for details) 16 + doCheck = false; 17 + 18 + meta = with stdenv.lib; { 19 + description = "C++ client library for the CMIS interface"; 20 + homepage = https://sourceforge.net/projects/libcmis/; 21 + license = licenses.gpl2; 22 + platforms = platforms.linux; 23 + }; 24 + }
+20
pkgs/development/libraries/libwps/default.nix
··· 1 + { stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libwps-${version}"; 5 + version = "0.4.1"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/libwps/${name}.tar.gz"; 9 + sha256 = "0nc44ia5sn9mmhkq5hjacz0vm520wldq03whc5psgcb9dahvsjsc"; 10 + }; 11 + 12 + buildInputs = [ boost pkgconfig librevenge zlib ]; 13 + 14 + meta = with stdenv.lib; { 15 + homepage = http://libwps.sourceforge.net/; 16 + description = "Microsoft Works file word processor format import filter library"; 17 + platforms = platforms.linux; 18 + license = licenses.lgpl21; 19 + }; 20 + }
+13
pkgs/top-level/all-packages.nix
··· 790 790 791 791 byobu = callPackage ../tools/misc/byobu { }; 792 792 793 + bsh = fetchurl { 794 + url = http://www.beanshell.org/bsh-2.0b5.jar; 795 + sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2"; 796 + }; 797 + 793 798 cabal2nix = haskellPackages.cabal2nix; 794 799 795 800 capstone = callPackage ../development/libraries/capstone { }; ··· 2108 2113 lftp = callPackage ../tools/networking/lftp { }; 2109 2114 2110 2115 libconfig = callPackage ../development/libraries/libconfig { }; 2116 + 2117 + libcmis = callPackage ../development/libraries/libcmis { }; 2111 2118 2112 2119 libee = callPackage ../development/libraries/libee { }; 2113 2120 ··· 6122 6129 6123 6130 coin3d = callPackage ../development/libraries/coin3d { }; 6124 6131 6132 + CoinMP = callPackage ../development/libraries/CoinMP { }; 6133 + 6125 6134 commoncpp2 = callPackage ../development/libraries/commoncpp2 { }; 6126 6135 6127 6136 confuse = callPackage ../development/libraries/confuse { }; ··· 6798 6807 libao = callPackage ../development/libraries/libao { 6799 6808 usePulseAudio = config.pulseaudio or true; 6800 6809 }; 6810 + 6811 + libabw = callPackage ../development/libraries/libabw { }; 6801 6812 6802 6813 libantlr3c = callPackage ../development/libraries/libantlr3c {}; 6803 6814 ··· 7519 7530 libwpd = callPackage ../development/libraries/libwpd { }; 7520 7531 7521 7532 libwpd_08 = callPackage ../development/libraries/libwpd/0.8.nix { }; 7533 + 7534 + libwps = callPackage ../development/libraries/libwps { }; 7522 7535 7523 7536 libwpg = callPackage ../development/libraries/libwpg { }; 7524 7537