diff options
author | Domen Kožar <domen@dev.si> | 2015-09-13 14:24:02 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-09-15 05:41:37 +0200 |
commit | 60ad36ba67ee428eb34e07d2bb49149f1bf7421d (patch) | |
tree | 721870460172c45a53039e4de42d38214299bb2f /pkgs/development | |
parent | 0b4ec468c5aee492492d98ae4beb04f7565dfb34 (diff) | |
download | nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.tar nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.tar.gz nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.tar.bz2 nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.tar.lz nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.tar.xz nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.tar.zst nixpkgs-60ad36ba67ee428eb34e07d2bb49149f1bf7421d.zip |
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>
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/CoinMP/default.nix | 18 | ||||
-rw-r--r-- | pkgs/development/libraries/libabw/default.nix | 20 | ||||
-rw-r--r-- | pkgs/development/libraries/libcmis/default.nix | 24 | ||||
-rw-r--r-- | pkgs/development/libraries/libwps/default.nix | 20 |
4 files changed, 82 insertions, 0 deletions
diff --git a/pkgs/development/libraries/CoinMP/default.nix b/pkgs/development/libraries/CoinMP/default.nix new file mode 100644 index 00000000000..e819078f786 --- /dev/null +++ b/pkgs/development/libraries/CoinMP/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "CoinMP-${version}"; + version = "1.7.6"; + + src = fetchurl { + url = "http://www.coin-or.org/download/source/CoinMP/${name}.tgz"; + sha256 = "0gqi2vqkg35gazzzv8asnhihchnbjcd6bzjfzqhmj7wy1dw9iiw6"; + }; + + meta = with stdenv.lib; { + homepage = https://projects.coin-or.org/CoinMP/; + description = "COIN-OR lightweight API for COIN-OR libraries CLP, CBC, and CGL"; + platforms = platforms.linux; + license = licenses.epl10; + }; +} diff --git a/pkgs/development/libraries/libabw/default.nix b/pkgs/development/libraries/libabw/default.nix new file mode 100644 index 00000000000..90c5a5fa429 --- /dev/null +++ b/pkgs/development/libraries/libabw/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, boost, doxygen, gperf, pkgconfig, librevenge, libxml2, perl }: + +stdenv.mkDerivation rec { + name = "libabw-${version}"; + version = "0.1.1"; + + src = fetchurl { + url = "http://dev-www.libreoffice.org/src/libabw/${name}.tar.xz"; + sha256 = "0zi1zj4fpxgpglbbb5n1kg3dmhqq5rpf46lli89r5daavp19iing"; + }; + + buildInputs = [ boost doxygen gperf pkgconfig librevenge libxml2 perl ]; + + meta = with stdenv.lib; { + homepage = https://wiki.documentfoundation.org/DLP/Libraries/libabw; + description = "Library parsing abiword documents"; + platforms = platforms.linux; + license = licenses.mpl20; + }; +} diff --git a/pkgs/development/libraries/libcmis/default.nix b/pkgs/development/libraries/libcmis/default.nix new file mode 100644 index 00000000000..5535623298a --- /dev/null +++ b/pkgs/development/libraries/libcmis/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, boost, libxml2, pkgconfig, curl }: + +stdenv.mkDerivation rec { + name = "libcmis-${version}"; + version = "0.5.0"; + + src = fetchurl { + url = "mirror://sourceforge/libcmis/${name}.tar.gz"; + sha256 = "1dprvk4fibylv24l7gr49gfqbkfgmxynvgssvdcycgpf7n8h4zm8"; + }; + + buildInputs = [ boost libxml2 pkgconfig curl ]; + configureFlags = "--without-man --with-boost=${boost.dev} --disable-werror --disable-tests"; + + # Cppcheck cannot find all the include files (use --check-config for details) + doCheck = false; + + meta = with stdenv.lib; { + description = "C++ client library for the CMIS interface"; + homepage = https://sourceforge.net/projects/libcmis/; + license = licenses.gpl2; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/libraries/libwps/default.nix b/pkgs/development/libraries/libwps/default.nix new file mode 100644 index 00000000000..e17540e96a4 --- /dev/null +++ b/pkgs/development/libraries/libwps/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, boost, pkgconfig, librevenge, zlib }: + +stdenv.mkDerivation rec { + name = "libwps-${version}"; + version = "0.4.1"; + + src = fetchurl { + url = "mirror://sourceforge/libwps/${name}.tar.gz"; + sha256 = "0nc44ia5sn9mmhkq5hjacz0vm520wldq03whc5psgcb9dahvsjsc"; + }; + + buildInputs = [ boost pkgconfig librevenge zlib ]; + + meta = with stdenv.lib; { + homepage = http://libwps.sourceforge.net/; + description = "Microsoft Works file word processor format import filter library"; + platforms = platforms.linux; + license = licenses.lgpl21; + }; +} |