about summary refs log tree commit diff
path: root/pkgs/development/libraries/tomlplusplus/default.nix
blob: be1c4b7d9c81e4d57ef00a41d30d9ca0dbb8dcf7 (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
, meson
, ninja
, fetchFromGitHub
}:

stdenv.mkDerivation rec {
  pname = "tomlplusplus";
  version = "3.2.0";

  src = fetchFromGitHub {
    owner = "marzer";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-nohO4eySs73BSgjvq+uzybiE5lw2rFY5YqGbl/oqGek=";
  };

  nativeBuildInputs = [ meson ninja ];

  meta = with lib;{
    homepage = "https://github.com/marzer/tomlplusplus";
    description = "Header-only TOML config file parser and serializer for C++17";
    license = licenses.mit;
    maintainers = with maintainers; [ Scrumplex ];
    platforms = with platforms; unix;
  };
}