Update eigen

This commit is contained in:
Michael Raskin 2014-08-31 20:42:00 +04:00
parent 8152e66da5
commit c5168debe8
2 changed files with 10 additions and 5 deletions

View File

@ -1,15 +1,15 @@
{stdenv, fetchurl, cmake}:
let
v = "3.2.1";
version = "3.2.2";
in
stdenv.mkDerivation {
name = "eigen-${v}";
name = "eigen-${version}";
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${v}.tar.bz2";
name = "eigen-${v}.tar.bz2";
sha256 = "12ljdirih9n3cf8hy00in285c2ccah7mgalmmr8gc3ldwznz5rk6";
url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.bz2";
name = "eigen-${version}.tar.bz2";
sha256 = "0pwykjkz5n8wfyg9cjj7smgs54a9zc80m9gi106w43n2m72ni39i";
};
nativeBuildInputs = [ cmake ];
@ -19,5 +19,6 @@ stdenv.mkDerivation {
license = licenses.lgpl3Plus;
homepage = http://eigen.tuxfamily.org ;
maintainers = with stdenv.lib.maintainers; [ sander urkud raskin ];
inherit version;
};
}

View File

@ -0,0 +1,4 @@
url http://eigen.tuxfamily.org/
ensure_choice
version '.*/([-0-9.]+)[.]tar[.].*' '\1'
do_overwrite() { do_overwrite_just_version; }