From 41ff904b9183388c02dad1c8dfd5e1bc7d486519 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Thu, 14 Oct 2010 11:53:53 +0000 Subject: [PATCH] TNT library: packaged svn path=/nixpkgs/trunk/; revision=24276 --- pkgs/development/libraries/tnt/default.nix | 23 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/tnt/default.nix 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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 30ceedbd3f8d..469ab42d4a5c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { };