eigen: 3.2.5 -> 3.2.10

This commit is contained in:
Michael Raskin 2017-03-09 18:57:25 +01:00
parent ccebeca500
commit 6de1b73db1
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{stdenv, fetchurl, cmake}:
let
version = "3.2.5";
version = "3.2.10";
in
stdenv.mkDerivation {
name = "eigen-${version}";
@ -9,10 +9,14 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
name = "eigen-${version}.tar.gz";
sha256 = "1vjixip19lwfia2bjpjwm09j7l20ry75493i6mjsk9djszj61agi";
sha256 = "00l52y7m276gh8wjkqqcxz6x687azrm7a70s3iraxnpy9bxa9y04";
};
nativeBuildInputs = [ cmake ];
postInstall = ''
sed -e '/Cflags:/s@''${prefix}@@' -i "$out"/share/pkgconfig/eigen3.pc
'';
meta = with stdenv.lib; {
description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";