Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

json-c: 0.16 -> 0.17

https://github.com/json-c/json-c/blob/json-c-0.17-20230812/ChangeLog

+13 -16
+13 -16
pkgs/development/libraries/json-c/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchpatch, cmake }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + }: 2 6 3 - stdenv.mkDerivation rec { 7 + stdenv.mkDerivation (finalAttrs: { 4 8 pname = "json-c"; 5 - version = "0.16"; 9 + version = "0.17"; 6 10 7 11 src = fetchFromGitHub { 8 12 owner = "json-c"; 9 13 repo = "json-c"; 10 - rev = "json-c-0.16-20220414"; 11 - sha256 = "sha256-KbnUWLgpg6/1wvXhUoYswyqDcgiwEcvgaWCPjNcX20o="; 14 + rev = "json-c-0.17-20230812"; 15 + hash = "sha256-R5KIJ0xVgGqffjzJaZvvvhAneJ+ZBuanyF6KYTTxb58="; 12 16 }; 13 17 14 - patches = [ 15 - # needed for emscripten, which uses LLVM 15+ 16 - (fetchpatch { 17 - url = "https://github.com/json-c/json-c/commit/6eca65617aacd19f4928acd5766b8dd20eda0b34.patch"; 18 - sha256 = "sha256-fyugX+HgYlt/4AVtfNDaKS+blyUt8JYTNqkmhURb9dk="; 19 - }) 20 - ]; 21 - 22 18 outputs = [ "out" "dev" ]; 23 19 24 20 nativeBuildInputs = [ cmake ]; ··· 31 27 and parse JSON formatted strings back into the C representation of JSON 32 28 objects. 33 29 ''; 34 - homepage = "https://github.com/json-c/json-c/wiki"; 30 + homepage = "https://github.com/json-c/json-c/wiki"; 31 + changelog = "https://github.com/json-c/json-c/blob/${finalAttrs.src.rev}/ChangeLog"; 35 32 maintainers = with maintainers; [ lovek323 ]; 36 - platforms = platforms.unix; 33 + platforms = platforms.unix; 37 34 license = licenses.mit; 38 35 }; 39 - } 36 + })