2013-11-17 12:13:24 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2011-11-06 21:03:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "json-c-0.9";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz";
|
|
|
|
sha256 = "0xcl8cwzm860f8m0cdzyw6slwcddni4mraw4shvr3qgqkdn4hakh";
|
|
|
|
};
|
2013-11-17 12:13:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-11-06 21:03:07 +01:00
|
|
|
homepage = "http://oss.metaparadigm.com/json-c/";
|
|
|
|
description = "A JSON implementation in C";
|
2013-11-17 12:13:24 +01:00
|
|
|
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;
|
2011-11-06 21:03:07 +01:00
|
|
|
};
|
|
|
|
}
|