Update mdds
This commit is contained in:
parent
8d514df1ef
commit
a25938e85e
@ -1,15 +1,21 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.8.1";
|
version = "0.10.3";
|
||||||
name = "mdds-${version}";
|
name = "mdds-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://multidimalgorithm.googlecode.com/files/mdds_${version}.tar.bz2";
|
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 = {
|
meta = {
|
||||||
|
inherit version;
|
||||||
homepage = https://code.google.com/p/multidimalgorithm/;
|
homepage = https://code.google.com/p/multidimalgorithm/;
|
||||||
description = "A collection of multi-dimensional data structure and indexing algorithm";
|
description = "A collection of multi-dimensional data structure and indexing algorithm";
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
|
10
pkgs/development/libraries/mdds/default.upstream
Normal file
10
pkgs/development/libraries/mdds/default.upstream
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user