b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
29 lines
652 B
Nix
29 lines
652 B
Nix
{ lib
|
|
, stdenv
|
|
, meson
|
|
, cmake
|
|
, ninja
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tomlplusplus";
|
|
version = "3.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marzer";
|
|
repo = "tomlplusplus";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-h5tbO0Rv2tZezY58yUbyRVpsfRjY3i+5TPkkxr6La8M=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson cmake 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 = platforms.unix;
|
|
};
|
|
})
|