nixpkgs/pkgs/by-name/va/valijson/package.nix

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

29 lines
589 B
Nix
Raw Normal View History

2023-10-24 16:29:46 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "valijson";
2023-12-25 00:47:17 +00:00
version = "1.0.2";
2023-10-24 16:29:46 +00:00
src = fetchFromGitHub {
owner = "tristanpenman";
repo = "valijson";
rev = "v${version}";
2023-12-25 00:47:17 +00:00
hash = "sha256-wvFdjsDtKH7CpbEpQjzWtLC4RVOU9+D2rSK0Xo1cJqo=";
2023-10-24 16:29:46 +00:00
};
nativeBuildInputs = [
cmake
];
meta = with lib; {
description = "Header-only C++ library for JSON Schema validation, with support for many popular parsers";
homepage = "https://github.com/tristanpenman/valijson";
license = licenses.bsd2;
platforms = platforms.all;
};
}