From f330be0bbafc8a19c7fdd12a70d00c082c2476d8 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Mon, 25 Mar 2024 13:23:26 +0100 Subject: komodo: customize date: compilation error --- packages/komodo/komodo.scm | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'packages/komodo/komodo.scm') diff --git a/packages/komodo/komodo.scm b/packages/komodo/komodo.scm index 97d2a59..5910cb7 100644 --- a/packages/komodo/komodo.scm +++ b/packages/komodo/komodo.scm @@ -276,9 +276,7 @@ "add_library(doom_meta INTERFACE)\n" "target_link_libraries(doom_meta INTERFACE doom_meta)\n" "add_library(SortFilterProxyModel INTERFACE)\n" - "target_link_libraries(SortFilterProxyModel INTERFACE SortFilterProxyModel)\n" - "add_library(date-tz INTERFACE)\n" - "target_link_libraries(date-tz INTERFACE date-tz)\n")))) + "target_link_libraries(SortFilterProxyModel INTERFACE SortFilterProxyModel)\n")))) (define remove-unity `(substitute* "src/CMakeLists.txt" @@ -377,6 +375,24 @@ ;;; ABSTRACTION LAYER -1 +(define date-komodo + (package (inherit date) + (version "v3.0.0") + (source (origin (uri (git-reference (url + "https://github.com/KomodoPlatform/date") + (commit + "cac99da8dc88be719a728dc1b597b0ac307c1800"))) + (method git-fetch) + (sha256 (base32 + "1qvlx6yzjsacj8zwl8k43cm00l1c41xdp1fqm8sq7ilglw06x8jk")))) + (arguments (list #:configure-flags + '(list "-DUSE_SYSTEM_TZ_DB=ON" + "-DBUILD_SHARED_LIBS=ON" + "-DBUILD_TZ_LIB=ON" + "-DENABLE_DATE_TESTING=ON" + "-DCMAKE_BUILD_TYPE=MinSizeRel") + #:tests? #f)))) + (define entt-komodo (package (inherit entt) (name "entt-komodo") @@ -439,7 +455,7 @@ (string-concatenate komodo-wallet-description-lines)) (define komodo-wallet-inputs - (list boost cpprestsdk date doctest doom-meta entt-komodo fmt git + (list boost cpprestsdk date-komodo doctest doom-meta entt-komodo fmt git libsodium-komodo nlohmann-json openssl perl python qtcharts qtdeclarative-5 qttools-5 qtsvg-5 qtwebengine-5 range-v3 refl-cpp sortfilterproxymodel spdlog-1.8 strong-type taskflow-2 wally zlib)) -- cgit v1.2.3