about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/rapidyaml/default.nix
blob: 68449479278f3ff2eb6638a8c9fb6ddf0036176f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, stdenv
, cmake
, fetchFromGitHub
, git
}:

stdenv.mkDerivation rec {
  pname = "rapidyaml";
  version = "0.5.0";

  src = fetchFromGitHub {
    owner = "biojppm";
    repo = pname;
    fetchSubmodules = true;
    rev = "v${version}";
    sha256 = "sha256-1/P6Szgng94UU8cPFAtOKMS+EmiwfW/IJl2UTolDU5s=";
  };

  nativeBuildInputs = [ cmake git ];

  meta = with lib; {
    description = "A library to parse and emit YAML, and do it fast.";
    homepage = "https://github.com/biojppm/rapidyaml";
    license = licenses.mit;
    maintainers = with maintainers; [ martfont ];
  };
}