libjson: add license + refactor longDescription

This commit is contained in:
Markus Kowalewski
2018-10-18 20:48:47 +02:00
parent ad250c18f7
commit 804e86c004

View File

@@ -11,10 +11,17 @@ in stdenv.mkDerivation rec {
buildInputs = [ unzip ];
makeFlags = [ "prefix=$(out)" ];
preInstall = "mkdir -p $out/lib";
meta = {
meta = with stdenv.lib; {
homepage = http://libjson.sourceforge.net/;
description = "A JSON reader and writer";
longDescription = "A JSON reader and writer which is super-effiecient and usually runs circles around other JSON libraries. It's highly customizable to optimize for your particular project, and very lightweight. For Windows, OSX, or Linux. Works in any language.";
platforms = stdenv.lib.platforms.unix;
longDescription = ''
A JSON reader and writer which is super-efficient and
usually runs circles around other JSON libraries.
It's highly customizable to optimize for your particular project, and
very lightweight. For Windows, OSX, or Linux. Works in any language.
'';
platforms = platforms.unix;
license = licenses.bsd2;
};
}