nixpkgs/pkgs/by-name/js/jsoncons/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
739 B
Nix
Raw Normal View History

2024-02-09 16:55:46 +01:00
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation (finalAttrs: {
pname = "jsoncons";
2024-05-03 04:34:12 +02:00
version = "0.175.0";
2024-02-09 16:55:46 +01:00
src = fetchFromGitHub {
owner = "danielaparker";
repo = "jsoncons";
rev = "v${finalAttrs.version}";
2024-05-03 04:34:12 +02:00
hash = "sha256-pLOKgZx3f0Jka0Tm3SBC1JlQ2Rc3ViPgmXRbjgF4UXI=";
2024-02-09 16:55:46 +01:00
};
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;
};
})