Merge pull request #3118 from NixOS/libreoffice-update-4.2.5

Libreoffice update 4.2.5
This commit is contained in:
Michael Raskin
2014-06-30 17:39:12 +04:00
7 changed files with 530 additions and 133 deletions

View File

@@ -1,15 +1,21 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "0.8.1";
version = "0.10.3";
name = "mdds-${version}";
src = fetchurl {
url = "http://multidimalgorithm.googlecode.com/files/mdds_${version}.tar.bz2";
sha256 = "12w8rs8kb8yffndsw0g7qfjvy4gpnppkdzc7r7vvc9n800ixl1gn";
sha256 = "1hp0472mcsgzrz1v60jpywxrrqmpb8bchfsi7ydmp6vypqnr646v";
};
postInstall = ''
mkdir -p "$out/lib/pkgconfig"
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
meta = {
inherit version;
homepage = https://code.google.com/p/multidimalgorithm/;
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = stdenv.lib.platforms.all;

View File

@@ -0,0 +1,10 @@
url https://code.google.com/p/multidimalgorithm/wiki/Downloads
version_link '[.]tar[.][a-z0-9]+$'
version '.*_([0-9.]+)[.]tar[.].*' '\1'
do_overwrite(){
ensure_hash
ensure_version
set_var_value version $CURRENT_VERSION
set_var_value sha256 $CURRENT_HASH
}