[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/48: gnu: Add libglib-testing.
From: |
guix-commits |
Subject: |
03/48: gnu: Add libglib-testing. |
Date: |
Tue, 18 Aug 2020 17:08:33 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit bd8a6a89f07b539041ac9b5d49371f8a74d46cc3
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu May 21 11:31:31 2020 -0400
gnu: Add libglib-testing.
* gnu/packages/freedesktop.scm (libglib-testing): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/freedesktop.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index ddbe716..7da6de3 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -98,6 +98,48 @@
#:use-module (gnu packages xorg)
#:use-module (srfi srfi-1))
+(define-public libglib-testing
+ (package
+ (name "libglib-testing")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.gnome.org/pwithnall/libglib-testing.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xmycsrlqyji6sc2i4wvp2gxf3897z65a57ygihfnpjpyl7zlwkr"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:phases
+ (modify-phases %standard-phases
+ (add-before
+ 'check 'pre-check
+ (lambda _
+ ;; The test suite requires a running dbus-daemon.
+ (system "dbus-daemon &")
+ ;; Don't fail on missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t)))))
+ (native-inputs
+ `(("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("pkg-config" ,pkg-config)
+ ("gtk-doc" ,gtk-doc)))
+ (inputs
+ `(("dbus" ,dbus)
+ ("glib" ,glib)))
+ (synopsis "Glib testing library")
+ (description "Libglib-testing is a test library providing test harnesses
and
+mock classes which complement the classes provided by GLib. It is intended to
+be used by any project which uses GLib and which wants to write internal unit
+tests.")
+ (home-page "https://gitlab.gnome.org/pwithnall/libglib-testing")
+ (license license:lgpl2.1+)))
+
(define-public xdg-utils
(package
(name "xdg-utils")
- branch master updated (5f8ea8e -> 433bb35), guix-commits, 2020/08/18
- 04/48: gnu: Add malcontent., guix-commits, 2020/08/18
- 01/48: gnu: Add krb5-auth-dialog., guix-commits, 2020/08/18
- 02/48: gnu: Add tepl., guix-commits, 2020/08/18
- 03/48: gnu: Add libglib-testing.,
guix-commits <=
- 05/48: gnu: Add portablexdr., guix-commits, 2020/08/18
- 06/48: gnu: Add libxmlb., guix-commits, 2020/08/18
- 07/48: gnu: Add gnome-music., guix-commits, 2020/08/18
- 09/48: gnu: Add ronn., guix-commits, 2020/08/18
- 11/48: gnu: Add presage., guix-commits, 2020/08/18
- 12/48: gnu: Add sysprof., guix-commits, 2020/08/18
- 08/48: gnu: Add gnome-photos., guix-commits, 2020/08/18
- 13/48: gnu: Add mutest., guix-commits, 2020/08/18
- 14/48: gnu: Add esound., guix-commits, 2020/08/18
- 16/48: gnu: Add libvisual-plugins., guix-commits, 2020/08/18