about summary refs log tree commit diff
path: root/pkgs/development/libraries/parson
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-04-01 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-04-01 04:20:00 +0000
commita4e784be15394acf25de63ad6d3bb79975ecd3d4 (patch)
tree7401e38877d13dbe3b7d6a3a88d35082bb290ddd /pkgs/development/libraries/parson
parent6af815e798c48e11008f003adf4f65b93a7cc81f (diff)
parson: init at 1.5.1
Diffstat (limited to 'pkgs/development/libraries/parson')
-rw-r--r--pkgs/development/libraries/parson/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/parson/default.nix b/pkgs/development/libraries/parson/default.nix
new file mode 100644
index 0000000000000..6426beaeeae07
--- /dev/null
+++ b/pkgs/development/libraries/parson/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, meson, ninja }:
+
+stdenv.mkDerivation {
+  pname = "parson";
+  version = "1.5.1";
+
+  src = fetchFromGitHub {
+    owner = "kgabis";
+    repo = "parson";
+    rev = "3c4ee26dbb3df177a2d7b9d80e154ec435ca8c01"; # upstream doesn't use tags
+    sha256 = "sha256-fz2yhxy6Q5uEPAbzMxMiaXqSYkQ9uB3A4sV2qYOekJ8=";
+  };
+
+  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;
+    maintainers = [ maintainers.marsam ];
+  };
+}