summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-25 13:23:26 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-25 13:23:26 +0100
commitf330be0bbafc8a19c7fdd12a70d00c082c2476d8 (patch)
tree9deb9501c4016fdb983b33188776e5837c3bfc75 /packages
parentce32b2c108aab217eadc1d2bdd12623f4df7d464 (diff)
komodo: customize date: compilation error
Diffstat (limited to 'packages')
-rw-r--r--packages/komodo/komodo.scm24
1 files changed, 20 insertions, 4 deletions
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))