taskflow: modernize

This commit is contained in:
Robert Schütz 2024-10-14 21:46:24 -07:00
parent bf3c22db39
commit 866ecd3def

View File

@ -1,9 +1,10 @@
{ lib {
, stdenv cmake,
, fetchFromGitHub doctest,
, substituteAll fetchFromGitHub,
, doctest lib,
, cmake replaceVars,
stdenv,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -18,8 +19,7 @@ stdenv.mkDerivation rec {
}; };
patches = [ patches = [
(substituteAll { (replaceVars ./unvendor-doctest.patch {
src = ./unvendor-doctest.patch;
inherit doctest; inherit doctest;
}) })
]; ];
@ -40,9 +40,11 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "General-purpose Parallel and Heterogeneous Task Programming System"; description = "General-purpose Parallel and Heterogeneous Task Programming System";
homepage = "https://taskflow.github.io/"; homepage = "https://taskflow.github.io/";
changelog = let changelog =
release = lib.replaceStrings ["."] ["-"] version; let
in "https://taskflow.github.io/taskflow/release-${release}.html"; release = lib.replaceStrings [ "." ] [ "-" ] version;
in
"https://taskflow.github.io/taskflow/release-${release}.html";
license = lib.licenses.mit; license = lib.licenses.mit;
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ dotlambda ]; maintainers = with lib.maintainers; [ dotlambda ];