3
0
Fork 0
forked from mirrors/nixpkgs

hmatrix: updated to version 0.11.1.0

svn path=/nixpkgs/trunk/; revision=28236
This commit is contained in:
Peter Simons 2011-08-07 18:22:36 +00:00
parent e067db327a
commit 0874d03f1a

View file

@ -1,19 +1,21 @@
{cabal, QuickCheck, HUnit, storableComplex, gsl, liblapack, blas, vector}: {cabal, HUnit, QuickCheck, binary, storableComplex, vector, gsl, liblapack, blas} :
cabal.mkDerivation (self : { cabal.mkDerivation (self : {
pname = "hmatrix"; pname = "hmatrix";
version = "0.9.3.0"; version = "0.11.1.0";
sha256 = "1p2c37j29nxq1ijs78xn7293cwjzgcl6hx8ri5qz7nijifmpcrkr"; sha256 = "19915xmf6m2092s1rzwirxy0rwjcr6482y5wg4bil0afm0xjnb9n";
propagatedBuildInputs = [QuickCheck HUnit storableComplex blas gsl liblapack vector]; propagatedBuildInputs = [
configureFlags = "-fvector"; HUnit QuickCheck binary storableComplex vector
/* dirty hack to find blas at link time */ gsl liblapack blas
postConfigure = '' ];
sed -i -e "/^extra-libraries/ s/: /: blas /" hmatrix.buildinfo
sed -i -e "/^extra-libraries/ s/$/ blas/" hmatrix.buildinfo
'';
extraLibDirs = "--extra-lib-dir=${blas}/lib --extra-lib-dir=${gsl}/lib --extra-lib-dir=${liblapack}/lib";
meta = { meta = {
homepage = "http://perception.inf.um.es/hmatrix";
description = "Linear algebra and numerical computation"; description = "Linear algebra and numerical computation";
maintainers = [ self.stdenv.lib.maintainers.guibert ]; license = "GPL";
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [
self.stdenv.lib.maintainers.simons
self.stdenv.lib.maintainers.guibert
];
}; };
}) })