1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

libjson: add license + refactor longDescription

This commit is contained in:
Markus Kowalewski 2018-10-18 20:48:47 +02:00
parent ad250c18f7
commit 804e86c004
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB

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;
};
}