taskflow: 3.10.0 -> 3.11.0 (#464370)

This commit is contained in:
dotlambda 2025-11-24 19:29:33 +00:00 committed by GitHub
commit 4e9c7094a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 2 deletions

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "taskflow";
version = "3.10.0";
version = "3.11.0";
src = fetchFromGitHub {
owner = "taskflow";
repo = "taskflow";
tag = "v${finalAttrs.version}";
hash = "sha256-s0A8zJoq0VfmAks9h4v63J7tPX5JnlNTzJJMilzc5yM=";
hash = "sha256-GIP/69JlygdmryRA4uiyXM3FZZ0wkvP3DceYGkn4+QY=";
};
patches = [
@ -36,6 +36,8 @@ stdenv.mkDerivation (finalAttrs: {
];
cmakeFlags = [
# FIXME remove once Taskflow is updated to 4.0.0
(lib.cmakeFeature "CMAKE_CXX_STANDARD" "20")
# building the tests implies running them in the buildPhase
(lib.cmakeBool "TF_BUILD_TESTS" finalAttrs.finalPackage.doCheck)
];

View file

@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
cmake,
cython,
ninja,
@ -27,6 +28,15 @@ buildPythonPackage rec {
hash = "sha256-p+Z2c+PBNdjfaRjZErWwWgihzuddV14PgTHE3NVNHs8=";
};
patches = [
# https://github.com/rapidfuzz/RapidFuzz/pull/463
(fetchpatch {
name = "support-taskflow-3.11.0.patch";
url = "https://github.com/rapidfuzz/RapidFuzz/commit/0ef2a4980c41b852283e6db7a747a1632307c75e.patch";
hash = "sha256-xb+J3PXwD51lZqIJcTzPJWrT/oqrIXxh1cLp91DhIPg=";
})
];
build-system = [
cmake
cython