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 = "sha256-jkWsj5bsd5Hq87t+5Q6cIQC7vIe40PHQMMW6igKI2Ws=";
12 outputs = [ "out" "dev" ];
14 nativeBuildInputs = [ cmake ];
17 description = "A JSON implementation in C";
19 JSON-C implements a reference counting object model that allows you to
20 easily construct JSON objects in C, output them as JSON formatted strings
21 and parse JSON formatted strings back into the C representation of JSON
24 homepage = "https://github.com/json-c/json-c/wiki";
25 maintainers = with maintainers; [ lovek323 ];
26 platforms = platforms.unix;
27 license = licenses.mit;