summary refs log tree commit diff
path: root/pkgs/development/libraries/json-c/default.nix
blob: 78100521584b68a9d80cd0f5bd4b4a6e7bed1805 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl }:

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";
  };
  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.
    '';
    hydraPlatforms = platforms.linux;
  };
}