From 6fa55c7487ddf449d087656ce50e8b746243f67c Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Thu, 1 Dec 2022 16:15:00 +0100 Subject: [PATCH] tomlcpp: 0.pre+date=2022-05-01 -> 0.pre+date=2022-06-25 --- .../libraries/tomlcpp/0001-missing-headers.diff | 15 --------------- pkgs/development/libraries/tomlcpp/default.nix | 16 ++++------------ 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 pkgs/development/libraries/tomlcpp/0001-missing-headers.diff diff --git a/pkgs/development/libraries/tomlcpp/0001-missing-headers.diff b/pkgs/development/libraries/tomlcpp/0001-missing-headers.diff deleted file mode 100644 index 3559facf3b54..000000000000 --- a/pkgs/development/libraries/tomlcpp/0001-missing-headers.diff +++ /dev/null @@ -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 -+#include -+#include -+#include -+ - struct toml_table_t; - struct toml_array_t; - diff --git a/pkgs/development/libraries/tomlcpp/default.nix b/pkgs/development/libraries/tomlcpp/default.nix index 96559f04541b..f782719f2b63 100644 --- a/pkgs/development/libraries/tomlcpp/default.nix +++ b/pkgs/development/libraries/tomlcpp/default.nix @@ -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 = [