json-c: add meta.platforms and break overlong line

This commit is contained in:
Bjørn Forsman 2013-11-17 12:13:24 +01:00
parent f49f9225d5
commit 9f9f905819

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl}:
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "json-c-0.9";
@ -6,9 +6,15 @@ stdenv.mkDerivation rec {
url = "http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz";
sha256 = "0xcl8cwzm860f8m0cdzyw6slwcddni4mraw4shvr3qgqkdn4hakh";
};
meta = {
meta = with stdenv.lib; {
homepage = "http://oss.metaparadigm.com/json-c/";
description = "A JSON implementation in C";
longDescription = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.";
longDescription = ''
JSON-C implements a reference counting object model that allows you to
easily construct JSON objects in C, output them as JSON formatted strings
and parse JSON formatted strings back into the C representation of JSON
objects.
'';
platforms = platforms.linux;
};
}