From cf68bb58a4c422eb6e7e8fbab1211a09df245d6a Mon Sep 17 00:00:00 2001 From: toastal Date: Sun, 18 Jun 2023 20:22:33 +0700 Subject: [PATCH] =?UTF-8?q?soupault:=204.4.0=20=E2=86=92=204.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://codeberg.org/PataphysicalSociety/soupault/src/branch/main/CHANGELOG.md --- pkgs/tools/typesetting/soupault/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/soupault/default.nix b/pkgs/tools/typesetting/soupault/default.nix index 3c3b736bf2c6..f3fa8b67ba7c 100644 --- a/pkgs/tools/typesetting/soupault/default.nix +++ b/pkgs/tools/typesetting/soupault/default.nix @@ -1,5 +1,6 @@ { lib , fetchFromGitea +, fetchpatch , ocamlPackages , soupault , testers @@ -8,7 +9,7 @@ let pname = "soupault"; - version = "4.4.0"; + version = "4.6.0"; in ocamlPackages.buildDunePackage { inherit pname version; @@ -22,9 +23,17 @@ ocamlPackages.buildDunePackage { owner = "PataphysicalSociety"; repo = pname; rev = version; - sha256 = "sha256-M4gaPxBxQ1Bk2C3BwvobYHyaWKIZgQ6buZ6S5wBlvPg="; + sha256 = "MblwVacfK9CfoO0TEND+bqdi7iQayBOJKKOhzE7oiVk="; }; + patches = lib.lists.optional + (lib.strings.versionAtLeast "2.0.0" ocamlPackages.camomile.version) + (fetchpatch { + name = "camomile-1_x"; + url = "https://files.baturin.org/software/soupault/soupault-4.6.0-camomile-1.x.patch"; + sha256 = "J5RGyLDDVRzf6MLLI+73lqClxoovcPD2ZFawk+f6cE4="; + }); + buildInputs = with ocamlPackages; [ base64 camomile