mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
taskflow: 3.10.0 -> 3.11.0 (#464370)
This commit is contained in:
commit
4e9c7094a7
2 changed files with 14 additions and 2 deletions
|
|
@ -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)
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue