diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-10-19 05:24:28 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-10-19 05:24:28 +0200 |
commit | 457f28f6f85eea1b1671d62d2abe39297c9c90f7 (patch) | |
tree | 3c6e68534e7bfcde19893c830af7498b0606e6d2 /pkgs/development/libraries/tomlplusplus/default.nix | |
parent | a25e03e76ae1e0367419db1de009e1139d08de68 (diff) | |
parent | 1aa7d4e6c61526606d9e26f939cdb60ec8f45fcd (diff) |
Merge branch 'master' into staging-next
; Conflicts: ; pkgs/development/tools/codespell/default.nix codespell 2.2.2 switched to pyproject & setuptools_scm: https://github.com/codespell-project/codespell/pull/2523
Diffstat (limited to 'pkgs/development/libraries/tomlplusplus/default.nix')
-rw-r--r-- | pkgs/development/libraries/tomlplusplus/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tomlplusplus/default.nix b/pkgs/development/libraries/tomlplusplus/default.nix new file mode 100644 index 0000000000000..be1c4b7d9c81e --- /dev/null +++ b/pkgs/development/libraries/tomlplusplus/default.nix @@ -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; + }; +} |