nixpkgs/pkgs/development/libraries/tomlplusplus/default.nix
Sefa Eyeoglu e1b7373d91
tomlplusplus: 3.3.0 -> 3.4.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-10-14 09:25:09 +02:00

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