summaryrefslogtreecommitdiff
path: root/sigils/packages/upstream.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sigils/packages/upstream.scm')
-rw-r--r--sigils/packages/upstream.scm31
1 files changed, 30 insertions, 1 deletions
diff --git a/sigils/packages/upstream.scm b/sigils/packages/upstream.scm
index 053e402..c08548f 100644
--- a/sigils/packages/upstream.scm
+++ b/sigils/packages/upstream.scm
@@ -80,7 +80,6 @@ information such as the command that it would use, the detected MIME-type, etc."
(description "An ncurses mixer for PulseAudio inspired by pavucontrol.")
(license license:expat)))
-
(define-public lnav
(package
(name "lnav")
@@ -115,3 +114,33 @@ information such as the command that it would use, the detected MIME-type, etc."
(arguments
'(#:tests? #f)) ;tests fail on the beta
(license license:bsd-2)))
+
+(define-public sdbus-c++-next
+ (package
+ (inherit sdbus-c++)
+ (name "sdbus-c++")
+ (version "2.0.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Kistler-Group/sdbus-cpp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1s6vhzln0rvac2r3v8nq08hsjhyz3y46fsy18i23ppjm30apkiav"))))
+ (arguments
+ (list
+ ;; Avoid the integration test, which requires a system bus.
+ #:test-target "sdbus-c++-unit-tests"
+ #:configure-flags #~(list "-DSDBUSCPP_BUILD_CODE_GEN=ON"
+ "-DSDBUSCPP_BUILD_TESTS=ON"
+ ;; Do not install tests.
+ "-DSDBUSCPP_TESTS_INSTALL_PATH=/tmp"
+ "-DCMAKE_VERBOSE_MAKEFILE=ON")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'do-not-install-tests
+ (lambda _
+ (substitute* "tests/CMakeLists.txt"
+ (("/etc/dbus-1/system.d") "/tmp")))))))))