depot/third_party/nixpkgs/pkgs/development/libraries/tomlplusplus/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

28 lines
613 B
Nix

{ 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;
};
}