From 8ad93cb4eeebfb8b96f82fb92adf5252c52988ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 21 Jun 2026 09:13:07 -0700 Subject: [PATCH] taskflow: 4.0.0 -> 4.1.0 Diff: https://github.com/taskflow/taskflow/compare/v4.0.0...v4.1.0 Changelog: https://taskflow.github.io/taskflow/release-4-1-0.html --- .../ta/taskflow/add-pkg-config-support.patch | 31 ------------------- pkgs/by-name/ta/taskflow/package.nix | 17 ++-------- 2 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 pkgs/by-name/ta/taskflow/add-pkg-config-support.patch diff --git a/pkgs/by-name/ta/taskflow/add-pkg-config-support.patch b/pkgs/by-name/ta/taskflow/add-pkg-config-support.patch deleted file mode 100644 index 3eb447d6d3bb..000000000000 --- a/pkgs/by-name/ta/taskflow/add-pkg-config-support.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 063fd793..99998a6b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -377,3 +377,13 @@ install( - DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} - ) - -+ -+# ----------------------------------------------------------------------------- -+# pkg-config -+# ----------------------------------------------------------------------------- -+ -+configure_file(taskflow.pc.in taskflow.pc @ONLY) -+install( -+ FILES ${CMAKE_CURRENT_BINARY_DIR}/taskflow.pc -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig -+) -diff --git a/taskflow.pc.in b/taskflow.pc.in -new file mode 100644 -index 00000000..fc649288 ---- /dev/null -+++ b/taskflow.pc.in -@@ -0,0 +1,7 @@ -+prefix=@CMAKE_INSTALL_PREFIX@ -+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ -+ -+Name: Taskflow -+Description: A General-purpose Task-parallel Programming System -+Version: @PROJECT_VERSION@ -+Cflags: -I${includedir} diff --git a/pkgs/by-name/ta/taskflow/package.nix b/pkgs/by-name/ta/taskflow/package.nix index 65471bef8a46..c7c88ff60060 100644 --- a/pkgs/by-name/ta/taskflow/package.nix +++ b/pkgs/by-name/ta/taskflow/package.nix @@ -10,32 +10,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "taskflow"; - version = "4.0.0"; + version = "4.1.0"; src = fetchFromGitHub { owner = "taskflow"; repo = "taskflow"; tag = "v${finalAttrs.version}"; - hash = "sha256-cWnKA6tCsKRfkleBJ38NRP2ciJu4sHtyTS8y5bBTfcA="; + hash = "sha256-IxorLV5qQ8veFiwRka8k5oMR51KTUn10MbCIYNVToLk="; }; patches = [ (replaceVars ./unvendor-doctest.patch { inherit doctest; }) - - # https://github.com/taskflow/taskflow/pull/785 - # TODO: remove when updating to the next release - (fetchpatch { - name = "fix-brace-init-with-explicit-constructor-for-GCC-15"; - url = "https://github.com/taskflow/taskflow/commit/de7dfe30594cd1f98398095b970a8320734a2382.patch"; - hash = "sha256-Ecl7dFvf2HDslv/5IHR5J2PYcRCN3EA4GahxOzcUS4g="; - }) - - # Vendored from #786 as it does not apply cleanly on top of v0.4.0 - # https://github.com/taskflow/taskflow/pull/786 - # TODO: remove when updating to the next release - ./add-pkg-config-support.patch ]; postPatch = ''