depot/third_party/nixpkgs/pkgs/development/libraries/rapidyaml/default.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

29 lines
614 B
Nix

{ lib
, stdenv
, cmake
, fetchFromGitHub
, git
}:
stdenv.mkDerivation rec {
pname = "rapidyaml";
version = "0.7.0";
src = fetchFromGitHub {
owner = "biojppm";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
sha256 = "sha256-VpREG75d+Rmfu8B2VTWueJtfEZwKxGUFb8E3OwVy1L4=";
};
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;
};
}