2023-04-01 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "parson";
|
2023-10-30 04:20:00 +00:00
|
|
|
version = "1.5.3";
|
2023-04-01 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kgabis";
|
|
|
|
repo = "parson";
|
2023-10-30 04:20:00 +00:00
|
|
|
rev = "ba29f4eda9ea7703a9f6a9cf2b0532a2605723c3"; # upstream doesn't use tags
|
|
|
|
hash = "sha256-IEmCa0nauUzG+zcLpr++ySD7i21zVJh/35r9RaQkok0=";
|
2023-04-01 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight JSON library written in C";
|
|
|
|
homepage = "https://github.com/kgabis/parson";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2024-05-15 04:04:22 +00:00
|
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
2023-04-01 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|