Author: egorochkin
Date: Thu Oct 14 11:53:53 2010
New Revision: 24276
URL: https://svn.nixos.org/websvn/nix/?rev=24276&sc=1

Log:
TNT library: packaged

Added:
   nixpkgs/trunk/pkgs/development/libraries/tnt/
   nixpkgs/trunk/pkgs/development/libraries/tnt/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/development/libraries/tnt/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/development/libraries/tnt/default.nix    Thu Oct 14 
11:53:53 2010        (r24276)
@@ -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

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Thu Oct 14 11:49:07 
2010        (r24275)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Thu Oct 14 11:53:53 
2010        (r24276)
@@ -3832,6 +3832,8 @@
 
   tk = callPackage ../development/libraries/tk { };
 
+  tnt = callPackage ../development/libraries/tnt { };
+
   unicap = callPackage ../development/libraries/unicap {};
 
   unixODBC = callPackage ../development/libraries/unixODBC { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to