Unverified Commit 4e9c7094 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

taskflow: 3.10.0 -> 3.11.0 (#464370)

parents b704ce71 1ad3b4c0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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)
  ];
+10 −0
Original line number Diff line number Diff line
@@ -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