aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm128
1 files changed, 94 insertions, 34 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f8e8557ef1..f56314757d 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -106,6 +106,7 @@
#:use-module (gnu packages onc-rpc)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
@@ -113,6 +114,7 @@
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
+ #:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
;; Using autoload to avoid a cycle.
@@ -663,6 +665,74 @@ operating on batches.")
library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.")
(license license:asl2.0)))
+(define-public hyprlang
+ (package
+ (name "hyprlang")
+ (version "0.5.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hyprwm/hyprlang")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0yvfrz3hdyxzhngzhr0bgc5279ra5fv01hbfi6pdj84pz0lpaw02"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cross-compilation
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("find_package.PkgConfig" all)
+ (string-append
+ "set(PKG_CONFIG_EXECUTABLE " #$(pkg-config-for-target) ")\n"
+ all))))))))
+ (native-inputs (list gcc-13 pkg-config))
+ (inputs (list hyprutils))
+ (home-page "https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang/")
+ (synopsis "Official implementation library for hypr config language")
+ (description
+ "This package provides the official implementation for hypr configuration
+language used in Hyprland.")
+ (license license:lgpl3)))
+
+(define-public hyprutils
+ (package
+ (name "hyprutils")
+ (version "0.2.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hyprwm/hyprutils")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01dh24rf62gb6xm32f7mfv6wx0dxprr1q9y73hvv7xanrjyia2zn"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-cross-compilation
+ (lambda _
+ (substitute* "CMakeLists.txt"
+ (("find_package.PkgConfig" all)
+ (string-append
+ "set(PKG_CONFIG_EXECUTABLE " #$(pkg-config-for-target) ")\n"
+ all))))))))
+ (native-inputs (list gcc-13 pkg-config))
+ (inputs (list pixman))
+ (home-page "https://github.com/hyprwm/hyprutils")
+ (synopsis "C++ library for utilities used across Hyprland ecosystem")
+ (description
+ "This package provides a C++ library for utilities used across Hyprland
+ecosystem.")
+ (license license:bsd-3)))
+
(define-public xsimd-benchmark
(package
(inherit xsimd)
@@ -987,7 +1057,7 @@ tools (containers, algorithms) used by other QuantStack packages.")
(define-public ccls
(package
(name "ccls")
- (version "0.20220729")
+ (version "0.20241108")
(source
(origin
(method git-fetch)
@@ -995,7 +1065,7 @@ tools (containers, algorithms) used by other QuantStack packages.")
(url "https://github.com/MaskRay/ccls")
(commit version)))
(sha256
- (base32 "0cp534n7afl0rrr778cc0bnd8w091qmyqdpp5k1jh4wxla9s09br"))
+ (base32 "0474ldkkw1m46lkasdk8mn6z3q51vs4g1fbwml0sd70wgdb7h5nj"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
@@ -1250,7 +1320,9 @@ library.")
python-pytest
python-pytest-cov
python-pytest-runner
- python-testfixtures))
+ python-setuptools
+ python-testfixtures
+ python-wheel))
(home-page "https://github.com/cpplint/cpplint")
(synopsis "Static code checker for C++")
(description "@code{cpplint} is a command-line tool to check C/C++ files
@@ -1532,7 +1604,7 @@ Google's C++ code base.")
(package
(inherit base)
(name "abseil-cpp")
- (version "20230802.1")
+ (version "20240722.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1541,7 +1613,7 @@ Google's C++ code base.")
(file-name (git-file-name name version))
(sha256
(base32
- "1ydkkbanrpkp5i814arzsk973kyzhhjhagnp392rq6rrv16apldq"))
+ "1pmrigimzic2k3ix3l81j2jpfgjgbajz0qbc5s57zljr2w7fjn77"))
(patches
(search-patches "abseil-cpp-20220623.1-no-kepsilon-i686.patch"))))
(arguments
@@ -1556,7 +1628,7 @@ Google's C++ code base.")
(add-before 'check 'set-env-vars
(lambda* (#:key inputs #:allow-other-keys)
;; absl_time_test requires this environment variable.
- (setenv "TZDIR" (string-append #$(package-source base)
+ (setenv "TZDIR" (string-append #$(package-source this-package)
"/absl/time/internal/cctz/testdata/zoneinfo"))))
#$@(if (target-riscv64?)
#~((replace 'check
@@ -2031,7 +2103,7 @@ standards.")
(define-public cli11
(package
(name "cli11")
- (version "2.3.2")
+ (version "2.4.2")
(source
(origin
(method git-fetch)
@@ -2040,7 +2112,7 @@ standards.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1iif7kzp3yyjqg4yfar89rqmz44xkbi603gf9kjdqbgraw3f8zy7"))))
+ (base32 "1kxggvgbdjx73rx9d91dm9imzcacf5jjfnjn2vaq6h6lvwlcdf04"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
@@ -2058,7 +2130,7 @@ feature set with a simple and intuitive interface.")
(define-public caf
(package
(name "caf")
- (version "0.18.6")
+ (version "1.0.2")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2067,11 +2139,11 @@ feature set with a simple and intuitive interface.")
(file-name (git-file-name name version))
(sha256
(base32
- "055y82044djphpwbazaxsvmb66c2xfdi8vyny8pzdxkdgxfh0vq1"))))
+ "1za7yja76csa0jnvkyavg2hc5zcc00za46c4x2fq42skh1apqcnl"))))
(build-system cmake-build-system)
(arguments
- '(#:configure-flags
- '("-DCAF_ENABLE_EXAMPLES=OFF")))
+ (list #:configure-flags
+ #~(list "-DCAF_ENABLE_EXAMPLES=OFF")))
(inputs
(list openssl))
(synopsis "C++ implementation of the actor model")
@@ -2471,11 +2543,11 @@ validation.")
"038i9nmk85vpxvs546w6cyci0ppdrrp5wnlv1kffxw29x71a3g5l"))))))
(define-public bloomberg-bde-tools
- (let ((commit "f63dfe9114cd7df29623bd01f644b9f654253972"))
+ (let ((commit "23217675939d434537ef74b91f71b63054e36572"))
(package
(name "bloomberg-bde-tools")
;; Recent releases are not tagged so commit must be used for checkout.
- (version "3.118.0.0")
+ (version "4.13.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2484,7 +2556,7 @@ validation.")
(file-name (git-file-name name version))
(sha256
(base32
- "1a5sw4xjwd222na3zkflm2gkmzhnfq17i8qapyaxszpiayf3hw6v"))
+ "1x440fa8fghigipn6w8zdr60kkvxrkxs2n9a5hf3y33b8aygh8iv"))
(patches
(search-patches
"bloomberg-bde-tools-fix-install-path.patch"))))
@@ -2498,11 +2570,11 @@ validation.")
(license license:asl2.0))))
(define-public bloomberg-bde
- (let ((commit "77a0f39d538c20ae28bece9a81cac99a9e1df95d"))
+ (let ((commit "445a8ac4223b90ee0a46749b87ffbbd21788e132"))
(package
(name "bloomberg-bde")
;; Recent releases are not tagged so commit must be used for checkout.
- (version "3.118.0.1")
+ (version "4.14.0.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2511,7 +2583,7 @@ validation.")
(file-name (git-file-name name version))
(sha256
(base32
- "0nw5clkc9yipd03kijh4c8lxi9zkxfxcjhszl1xzwvgz8xmpampf"))
+ "1hf09d4fcn77s1vv6qrh0sa0rv9wijpk55km6p3zi2ymkb2cha3c"))
(patches
(search-patches
"bloomberg-bde-cmake-module-path.patch"))
@@ -2525,24 +2597,12 @@ validation.")
;; Delete failing tests.
(for-each
delete-file
- (list "groups/bal/ball/ball_asyncfileobserver.t.cpp"
- "groups/bal/ball/ball_fileobserver2.t.cpp"
- "groups/bal/ball/ball_recordstringformatter.t.cpp"
- "groups/bal/balst/balst_stacktraceresolver_filehelper.t.cpp"
+ (list "groups/bal/balcl/balcl_commandline.t.cpp"
+ "groups/bal/balst/balst_resolver_filehelper.t.cpp"
+ "groups/bal/balst/balst_stacktraceprintutil.t.cpp"
"groups/bal/balst/balst_stacktraceutil.t.cpp"
- "groups/bdl/bdlmt/bdlmt_eventscheduler.t.cpp"
- "groups/bdl/bdlmt/bdlmt_timereventscheduler.t.cpp"
- "groups/bdl/bdls/bdls_filesystemutil.t.cpp"
"groups/bsl/bslh/bslh_hash.t.cpp"
- "groups/bsl/bslh/bslh_hashpair.t.cpp"
- "groups/bsl/bsls/bsls_platform.t.cpp"
- "groups/bsl/bsls/bsls_stackaddressutil.t.cpp"
- "groups/bsl/bsls/bsls_stopwatch.t.cpp"
- "groups/bsl/bsls/bsls_timeutil.t.cpp"
- "groups/bsl/bslstl/bslstl_deque.1.t.cpp"
- "groups/bsl/bslstl/bslstl_deque.2.t.cpp"
- "groups/bsl/bslstl/bslstl_deque.3.t.cpp"
- "groups/bsl/bslstl/bslstl_function_invokerutil.t.cpp"))
+ "groups/bsl/bsls/bsls_timeutil.t.cpp"))
#t))))
(build-system cmake-build-system)
(arguments