diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-11-17 12:13:24 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-11-17 12:15:02 +0100 |
commit | 9f9f9058192eb48a21714e48d0b6ddcb304b4518 (patch) | |
tree | a0c9fec8f432d9bf619e051f38d1d38636655d7e /pkgs/development/libraries/json-c | |
parent | f49f9225d5d69797e3ddbf1a0a13776dbaa77fa7 (diff) | |
download | nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.tar nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.tar.gz nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.tar.bz2 nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.tar.lz nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.tar.xz nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.tar.zst nixlib-9f9f9058192eb48a21714e48d0b6ddcb304b4518.zip |
json-c: add meta.platforms and break overlong line
Diffstat (limited to 'pkgs/development/libraries/json-c')
-rw-r--r-- | pkgs/development/libraries/json-c/default.nix | 12 |
1 files 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; }; } |