diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/tomlcpp')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/tomlcpp/0001-missing-headers.diff | 15 | ||||
-rw-r--r-- | nixpkgs/pkgs/development/libraries/tomlcpp/default.nix | 16 |
2 files changed, 4 insertions, 27 deletions
diff --git a/nixpkgs/pkgs/development/libraries/tomlcpp/0001-missing-headers.diff b/nixpkgs/pkgs/development/libraries/tomlcpp/0001-missing-headers.diff deleted file mode 100644 index 3559facf3b54..000000000000 --- a/nixpkgs/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 <memory> -+#include <string> -+#include <utility> -+#include <vector> -+ - struct toml_table_t; - struct toml_array_t; - diff --git a/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix b/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix index 96559f04541b..f782719f2b63 100644 --- a/nixpkgs/pkgs/development/libraries/tomlcpp/default.nix +++ b/nixpkgs/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 = [ |