depot/third_party/nixpkgs/pkgs/development/libraries/tnt/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
587 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
pname = "tnt";
version = "3.0.12";
src = fetchurl {
url = "https://math.nist.gov/tnt/tnt_3_0_12.zip";
sha256 = "1bzkfdb598584qlc058n8wqq9vbz714gr5r57401rsa9qaxhk5j7";
};
buildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/include
cp *.h $out/include
'';
meta = {
homepage = "https://math.nist.gov/tnt/";
description = "Template Numerical Toolkit: C++ headers for array and matrices";
license = stdenv.lib.licenses.publicDomain;
platforms = stdenv.lib.platforms.unix;
};
}