mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
2cea31ea63
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
30 lines
627 B
Nix
30 lines
627 B
Nix
{ lib
|
|
, stdenv
|
|
, meson
|
|
, cmake
|
|
, ninja
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tomlplusplus";
|
|
version = "3.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marzer";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-INX8TOEumz4B5coSxhiV7opc3rYJuQXT2k1BJ3Aje1M=";
|
|
};
|
|
|
|
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 = with platforms; unix;
|
|
};
|
|
}
|