From 7054c5744c14d72209ac4107de0b8c73a65ece27 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Fri, 9 Feb 2024 19:55:46 +0400 Subject: [PATCH] jsoncons: init at 0.173.4 --- pkgs/by-name/js/jsoncons/package.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/by-name/js/jsoncons/package.nix diff --git a/pkgs/by-name/js/jsoncons/package.nix b/pkgs/by-name/js/jsoncons/package.nix new file mode 100644 index 000000000000..57908ded4a16 --- /dev/null +++ b/pkgs/by-name/js/jsoncons/package.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation (finalAttrs: { + pname = "jsoncons"; + version = "0.173.4"; + + src = fetchFromGitHub { + owner = "danielaparker"; + repo = "jsoncons"; + rev = "v${finalAttrs.version}"; + hash = "sha256-Mf3kvfYAcwNrwbvGyMP6PQmk5e5Mz7b0qCZ6yi95ksk="; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "A C++, header-only library for constructing JSON and JSON-like data formats"; + homepage = "https://danielaparker.github.io/jsoncons/"; + changelog = "https://github.com/danielaparker/jsoncons/blob/${finalAttrs.src.rev}/CHANGELOG.md"; + license = licenses.boost; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.all; + }; +})