9 stdenv.mkDerivation rec {
11 # pin to a newer release if frozen releases again, see cesanta/frozen#72
12 version = "unstable-2021-02-23";
14 src = fetchFromGitHub {
17 rev = "21f051e3abc2240d9a25b2add6629b38e963e102";
18 hash = "sha256-BpuYK9fbWSpeF8iPT8ImrV3CKKaA5RQ2W0ZQ03TciR0=";
26 # frozen has a simple Makefile and a GN BUILD file as building scripts.
27 # Since it has only two source files, the best course of action to support
28 # cross compilation is to create a small meson.build file.
29 # Relevant upstream issue: https://github.com/cesanta/frozen/pull/71
30 # We also remove the GN BUILD file to prevent conflicts on case-insesitive
34 cp ${./meson.build} meson.build
38 homepage = "https://github.com/cesanta/frozen";
39 description = "Minimal JSON parser for C, targeted for embedded systems";
40 license = lib.licenses.asl20;
41 maintainers = with lib.maintainers; [ thillux ];
42 platforms = lib.platforms.unix;