From 9f9f9058192eb48a21714e48d0b6ddcb304b4518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sun, 17 Nov 2013 12:13:24 +0100 Subject: [PATCH] json-c: add meta.platforms and break overlong line --- pkgs/development/libraries/json-c/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/json-c/default.nix b/pkgs/development/libraries/json-c/default.nix index fa53cb2ddd4d..7953b04183a9 100644 --- a/pkgs/development/libraries/json-c/default.nix +++ b/pkgs/development/libraries/json-c/default.nix @@ -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; }; }