jama: add license

This commit is contained in:
Markus Kowalewski 2018-11-01 20:55:38 +01:00
parent ba9d6b673a
commit 6afad9b00e
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -3,7 +3,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jama-${version}"; name = "jama-${version}";
version = "1.2.5"; version = "1.2.5";
src = fetchurl { src = fetchurl {
url = https://math.nist.gov/tnt/jama125.zip; url = https://math.nist.gov/tnt/jama125.zip;
sha256 = "031ns526fvi2nv7jzzv02i7i5sjcyr0gj884i3an67qhsx8vyckl"; sha256 = "031ns526fvi2nv7jzzv02i7i5sjcyr0gj884i3an67qhsx8vyckl";
@ -21,9 +21,10 @@ stdenv.mkDerivation rec {
cp *.h $out/include cp *.h $out/include
''; '';
meta = { meta = with stdenv.lib; {
homepage = https://math.nist.gov/tnt/; homepage = https://math.nist.gov/tnt/;
description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates"; description = "JAMA/C++ Linear Algebra Package: Java-like matrix C++ templates";
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
license = licenses.publicDomain;
}; };
} }