2010-10-14 13:53:53 +02:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "tnt";
|
2010-10-14 13:53:53 +02:00
|
|
|
version = "3.0.12";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "https://math.nist.gov/tnt/tnt_3_0_12.zip";
|
2010-10-14 13:53:53 +02:00
|
|
|
sha256 = "1bzkfdb598584qlc058n8wqq9vbz714gr5r57401rsa9qaxhk5j7";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp *.h $out/include
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://math.nist.gov/tnt/";
|
2010-10-14 13:53:53 +02:00
|
|
|
description = "Template Numerical Toolkit: C++ headers for array and matrices";
|
2018-10-07 18:56:48 +02:00
|
|
|
license = stdenv.lib.licenses.publicDomain;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-10-14 13:53:53 +02:00
|
|
|
};
|
2016-08-02 19:50:55 +02:00
|
|
|
}
|