Unverified Commit 4c8a1844 authored by Bruno BELANYI's avatar Bruno BELANYI Committed by GitHub
Browse files

jsoncons: 0.176.0 -> 1.1.0 (#335293)

parents 1c7635ce 9466afac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,5 +61,6 @@ stdenv.mkDerivation {
    maintainers = with maintainers; [ ambroisie ];
    mainProgram = "BtMigrate";
    platforms = platforms.all;
    broken = true; # https://github.com/mikedld/bt-migrate/issues/26
  };
}
+10 −8
Original line number Diff line number Diff line
@@ -2,23 +2,25 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "jsoncons";
  version = "0.176.0";
  version = "1.1.0";

  src = fetchFromGitHub {
    owner = "danielaparker";
    repo = "jsoncons";
    rev = "v${finalAttrs.version}";
    hash = "sha256-RDF5HL6utM/6wna1TxCefl7X8B1qp6nsEDrguTLrtgA=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-3NG9Jal3+BdcFeWAIq3eFoV+1ywUCsWafe/WNu2VJU8=";
  };

  nativeBuildInputs = [ cmake ];

  meta = with lib; {
  env.NIX_CFLAGS_COMPILE = "-std=c++20 -Wno-error";

  meta = {
    description = "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;
    changelog = "https://github.com/danielaparker/jsoncons/blob/v${finalAttrs.version}/CHANGELOG.md";
    license = lib.licenses.boost;
    maintainers = with lib.maintainers; [ sikmir ];
    platforms = lib.platforms.all;
  };
})