Merge pull request #203937 from nagy/tomlcpp

tomlcpp: 0.pre+date=2022-05-01 -> 0.pre+date=2022-06-25
This commit is contained in:
Anderson Torres 2022-12-03 12:02:28 -03:00 committed by GitHub
commit cfc93544f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 27 deletions

View file

@ -1,15 +0,0 @@
diff -Naur old-source/tomlcpp.hpp new-source/tomlcpp.hpp
--- tomlcpp/tomlcpp.hpp 1969-12-31 21:00:01.000000000 -0300
+++ tomlcpp/tomlcpp.hpp 2022-04-14 12:50:14.269775437 -0300
@@ -25,6 +25,11 @@
#ifndef TOML_HPP
#define TOML_HPP
+#include <memory>
+#include <string>
+#include <utility>
+#include <vector>
+
struct toml_table_t;
struct toml_array_t;

View file

@ -1,24 +1,16 @@
{ lib
, stdenv
, fetchFromGitHub
}:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "tomlcpp";
version = "0.pre+date=2022-05-01";
version = "0.pre+date=2022-06-25";
src = fetchFromGitHub {
owner = "cktan";
repo = pname;
rev = "59fcc6dc89fb3f4130a2865e41e1fa5b8c502e45";
hash = "sha256-Uc6R5KnGIZXY0EJgFM4Xi7Jtxcu6l8yGh5xgFZPoJDM=";
rev = "4212f1fccf530e276a2e1b63d3f99fbfb84e86a4";
hash = "sha256-PM3gURXhyTZr59BWuLHvltjKOlKUSBT9/rqTeX5V//k=";
};
patches = [
# Self-explaining
./0001-missing-headers.diff
];
dontConfigure = true;
installFlags = [