TNT library: packaged

svn path=/nixpkgs/trunk/; revision=24276
This commit is contained in:
Evgeny Egorochkin 2010-10-14 11:53:53 +00:00
parent 686802b8e1
commit 41ff904b91
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "tnt-${version}";
version = "3.0.12";
src = fetchurl {
url = http://math.nist.gov/tnt/tnt_3_0_12.zip;
sha256 = "1bzkfdb598584qlc058n8wqq9vbz714gr5r57401rsa9qaxhk5j7";
};
buildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/include
cp *.h $out/include
'';
meta = {
homepage = http://math.nist.gov/tnt/;
description = "Template Numerical Toolkit: C++ headers for array and matrices";
};
}

View File

@ -3832,6 +3832,8 @@ let
tk = callPackage ../development/libraries/tk { };
tnt = callPackage ../development/libraries/tnt { };
unicap = callPackage ../development/libraries/unicap {};
unixODBC = callPackage ../development/libraries/unixODBC { };