depot/third_party/nixpkgs/pkgs/development/libraries/rapidyaml/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
614 B
Nix

{ lib
, stdenv
, cmake
, fetchFromGitHub
, git
}:
stdenv.mkDerivation rec {
pname = "rapidyaml";
version = "0.6.0";
src = fetchFromGitHub {
owner = "biojppm";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
sha256 = "sha256-p9XaMsrOgnEdb0yl52HXhNzz6YxuvTD5GCaq1a+l1bQ=";
};
nativeBuildInputs = [ cmake git ];
meta = with lib; {
description = "Library to parse and emit YAML, and do it fast";
homepage = "https://github.com/biojppm/rapidyaml";
license = licenses.mit;
maintainers = with maintainers; [ martfont ];
platforms = platforms.all;
};
}