From 90dfa42149e0f220742115f7faa8be16575c2e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B7=F0=90=91=91=F0=90=91=B4=F0=90=91=95=F0=90=91=91?= =?UTF-8?q?=F0=90=91=A9=F0=90=91=A4?= Date: Sat, 1 Nov 2025 14:13:04 -0700 Subject: [PATCH] =?UTF-8?q?biboumi:=209.0=20=E2=86=92=209.0-unstable-2025-?= =?UTF-8?q?10-27?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Biboumi was not running as is. Rather than trying keep piling on these patches, it appear to ‘just work’ if using the latest upstream patches. Hopefully they will cut a release. --- pkgs/by-name/bi/biboumi/catch.patch | 30 ----------------------------- pkgs/by-name/bi/biboumi/package.nix | 30 ++++------------------------- 2 files changed, 4 insertions(+), 56 deletions(-) delete mode 100644 pkgs/by-name/bi/biboumi/catch.patch diff --git a/pkgs/by-name/bi/biboumi/catch.patch b/pkgs/by-name/bi/biboumi/catch.patch deleted file mode 100644 index bbd0a66909fe..000000000000 --- a/pkgs/by-name/bi/biboumi/catch.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -303,27 +303,6 @@ - endforeach() - - # --## Add a rule to download the catch unit test framework --# --include(ExternalProject) --ExternalProject_Add(catch -- GIT_REPOSITORY "https://lab.louiz.org/louiz/Catch.git" -- PREFIX "external" -- UPDATE_COMMAND "" -- CONFIGURE_COMMAND "" -- BUILD_COMMAND "" -- INSTALL_COMMAND "" -- ) --set_target_properties(catch PROPERTIES EXCLUDE_FROM_ALL TRUE) --ExternalProject_Get_Property(catch SOURCE_DIR) --if(NOT EXISTS ${CMAKE_SOURCE_DIR}/tests/catch.hpp) -- target_include_directories(test_suite -- PUBLIC "${SOURCE_DIR}/single_include/" -- ) -- add_dependencies(test_suite catch) --endif() -- --# - ## Add some custom rules to launch the tests - # - add_custom_target(check COMMAND "test_suite" diff --git a/pkgs/by-name/bi/biboumi/package.nix b/pkgs/by-name/bi/biboumi/package.nix index ebc9dfa625e3..ccf3d25dd507 100644 --- a/pkgs/by-name/bi/biboumi/package.nix +++ b/pkgs/by-name/bi/biboumi/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchFromGitea, - fetchpatch, cmake, libuuid, expat, @@ -25,38 +24,18 @@ assert lib.assertMsg ( withPostgreSQL || withSQLite ) "At least one Biboumi database provider required"; -let - catch = fetchFromGitea { - domain = "codeberg.org"; - owner = "poezio"; - repo = "catch"; - tag = "v2.2.1"; - hash = "sha256-dGUnB/KPONqPno1aO5cOSiE5N4lUiTbMUcH0X6HUoCk="; - }; - - pname = "biboumi"; - version = "9.0"; -in stdenv.mkDerivation { - inherit pname version; + pname = "biboumi"; + version = "9.0-unstable-2025-10-27"; src = fetchFromGitea { domain = "codeberg.org"; owner = "poezio"; repo = "biboumi"; - tag = version; - hash = "sha256-yjh9WFuFjaoZLfXTfZajmdRO+3KZqJYBEd0HgqcC28A="; + rev = "61242c35bc825d58c9db4301b5696bc17428bf98"; + hash = "sha256-BZTqu2Qvfqag9pwymlGrItLbOXQf3VMKQS2+3pxlJbE="; }; - patches = [ - ./catch.patch - (fetchpatch { - name = "update_botan_to_version_3.patch"; - url = "https://codeberg.org/poezio/biboumi/commit/e4d32f939240ed726e9981e42c0dc251cd9879da.patch"; - hash = "sha256-QUt2ZQtoouLHAeEUlJh+yfCYEmLboL/tk6O2TbHR67Q="; - }) - ]; - nativeBuildInputs = [ cmake pkg-config @@ -87,7 +66,6 @@ stdenv.mkDerivation { preConfigure = '' substituteInPlace CMakeLists.txt --replace /etc/biboumi $out/etc/biboumi - cp ${catch}/single_include/catch.hpp tests/ ''; doCheck = true;