1 { lib, stdenv, fetchurl, cmake }:
3 stdenv.mkDerivation rec {
8 url = "https://s3.amazonaws.com/json-c_releases/releases/${pname}-${version}.tar.gz";
9 sha256 = "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q";
12 outputs = [ "out" "dev" ];
14 nativeBuildInputs = [ cmake ];
17 description = "A JSON implementation in C";
18 homepage = "https://github.com/json-c/json-c/wiki";
19 maintainers = with maintainers; [ lovek323 ];
20 platforms = platforms.unix;
21 license = licenses.mit;
24 JSON-C implements a reference counting object model that allows you to
25 easily construct JSON objects in C, output them as JSON formatted strings
26 and parse JSON formatted strings back into the C representation of JSON