(package
    (name "libjson-c")
    (version "0.18")
    (homepage "https://github.com/json-c/json-c")
    (dependencies cmake)
    (src (tar
        (url "https://github.com/json-c/json-c/archive/refs/tags/json-c-0.18-20240915.tar.gz")
        (dir "json-c-json-c-0.18-20240915")
        (blake3 "69e553b048bc4a3f32ad10ff6372a35a8e599142d7634651baa9490461c7beb3")))
    (build
        (cmake
            (configure_flags "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"))))
