depot/third_party/nixpkgs/pkgs/development/libraries/rapidyaml/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

29 lines
585 B
Nix

{ lib
, stdenv
, cmake
, fetchFromGitHub
, git
}:
stdenv.mkDerivation rec {
pname = "rapidyaml";
version = "0.7.2";
src = fetchFromGitHub {
owner = "biojppm";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
hash = "sha256-vAYafhWo9xavM2j+mT3OGcX7ZSS25mieR/3b79BO+jA=";
};
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 = [ ];
platforms = platforms.all;
};
}