2010-10-14 12:53:53 +01:00
|
|
|
{stdenv, fetchurl, unzip}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tnt-${version}";
|
|
|
|
version = "3.0.12";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-25 06:04:25 +01:00
|
|
|
url = https://math.nist.gov/tnt/tnt_3_0_12.zip;
|
2010-10-14 12:53:53 +01:00
|
|
|
sha256 = "1bzkfdb598584qlc058n8wqq9vbz714gr5r57401rsa9qaxhk5j7";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include
|
|
|
|
cp *.h $out/include
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://math.nist.gov/tnt/;
|
2010-10-14 12:53:53 +01:00
|
|
|
description = "Template Numerical Toolkit: C++ headers for array and matrices";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-10-14 12:53:53 +01:00
|
|
|
};
|
2016-08-02 18:50:55 +01:00
|
|
|
}
|