From 6de1b73db1e6f1a0e2f11fc603282881d3a03a55 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 9 Mar 2017 18:57:25 +0100 Subject: [PATCH] eigen: 3.2.5 -> 3.2.10 --- pkgs/development/libraries/eigen/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/eigen/default.nix b/pkgs/development/libraries/eigen/default.nix index 0e43b9fb602..c38759e0c75 100644 --- a/pkgs/development/libraries/eigen/default.nix +++ b/pkgs/development/libraries/eigen/default.nix @@ -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";