Merge pull request #193038 from Scrumplex/add-tomlplusplus

This commit is contained in:
Sandro 2022-10-18 19:57:28 +02:00 committed by GitHub
commit 80422032f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View File

@ -12150,6 +12150,16 @@
githubId = 3598650;
name = "Fritz Otlinghaus";
};
Scrumplex = {
name = "Sefa Eyeoglu";
email = "contact@scrumplex.net";
matrix = "@Scrumplex:duckhub.io";
github = "Scrumplex";
githubId = 11587657;
keys = [{
fingerprint = "AF1F B107 E188 CB97 9A94 FD7F C104 1129 4912 A422";
}];
};
scubed2 = {
email = "scubed2@gmail.com";
github = "scubed2";

View File

@ -0,0 +1,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;
};
}

View File

@ -22398,6 +22398,8 @@ with pkgs;
tomlcpp = callPackage ../development/libraries/tomlcpp { };
tomlplusplus = callPackage ../development/libraries/tomlplusplus { };
tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { };
tokyotyrant = callPackage ../development/libraries/tokyo-tyrant { };