diff options
author | Evgeny Egorochkin <phreedom.stdin@gmail.com> | 2010-10-14 11:53:53 +0000 |
---|---|---|
committer | Evgeny Egorochkin <phreedom.stdin@gmail.com> | 2010-10-14 11:53:53 +0000 |
commit | 41ff904b9183388c02dad1c8dfd5e1bc7d486519 (patch) | |
tree | 772315492821cfbb56eb32309647456004141155 /pkgs/development/libraries/tnt | |
parent | 686802b8e1dc0c894386329eb7074047190026e9 (diff) |
TNT library: packaged
svn path=/nixpkgs/trunk/; revision=24276
Diffstat (limited to 'pkgs/development/libraries/tnt')
-rw-r--r-- | pkgs/development/libraries/tnt/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tnt/default.nix b/pkgs/development/libraries/tnt/default.nix new file mode 100644 index 000000000000..51e3ac452674 --- /dev/null +++ b/pkgs/development/libraries/tnt/default.nix @@ -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"; + }; +}
\ No newline at end of file |