diff options
author | Evgeny Egorochkin <phreedom.stdin@gmail.com> | 2010-10-14 11:53:59 +0000 |
---|---|---|
committer | Evgeny Egorochkin <phreedom.stdin@gmail.com> | 2010-10-14 11:53:59 +0000 |
commit | 0dfc76901b23d6261c01567c61d9448ef7bd5e13 (patch) | |
tree | c578b3a142dc7e46dfae9ec0faa7ca72136f86a8 /pkgs/development/libraries/jama | |
parent | 41ff904b9183388c02dad1c8dfd5e1bc7d486519 (diff) |
JaMa library: packaged
svn path=/nixpkgs/trunk/; revision=24277
Diffstat (limited to 'pkgs/development/libraries/jama')
-rw-r--r-- | pkgs/development/libraries/jama/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/jama/default.nix b/pkgs/development/libraries/jama/default.nix new file mode 100644 index 0000000000000..6e775d5cef2f9 --- /dev/null +++ b/pkgs/development/libraries/jama/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, unzip, tnt}: + +stdenv.mkDerivation rec { + name = "jama-${version}"; + version = "1.2.5"; + + src = fetchurl { + url = http://math.nist.gov/tnt/jama125.zip; + sha256 = "031ns526fvi2nv7jzzv02i7i5sjcyr0gj884i3an67qhsx8vyckl"; + }; + + buildInputs = [ unzip ]; + propagatedBuildInputs = [ tnt ]; + + unpackPhase = '' + mkdir "${name}" + unzip "$src" + ''; + installPhase = '' + mkdir -p $out/include + cp *.h $out/include + ''; + + meta = { + homepage = http://math.nist.gov/tnt/; + description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates"; + }; +} \ No newline at end of file |