[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/86: gnu: Add libglib-testing.
From: |
guix-commits |
Subject: |
03/86: gnu: Add libglib-testing. |
Date: |
Sun, 5 Jul 2020 16:16:49 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit d1c2beeff80a06e62564b133a591df63b7b63bba
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 | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 23cd1aa..ece2ba8 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -77,6 +77,7 @@
#:use-module (gnu packages man)
#:use-module (gnu packages m4)
#:use-module (gnu packages nss)
+ #:use-module (gnu packages package-management)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (gnu packages pkg-config)
@@ -94,6 +95,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 wip-desktop created (now 1d555bd), guix-commits, 2020/07/05
- 02/86: gnu: Add tepl., guix-commits, 2020/07/05
- 01/86: gnu: Add krb5-auth-dialog., guix-commits, 2020/07/05
- 03/86: gnu: Add libglib-testing.,
guix-commits <=
- 05/86: gnu: Add portablexdr., guix-commits, 2020/07/05
- 04/86: gnu: Add malcontent., guix-commits, 2020/07/05
- 07/86: gnu: Add gnome-music., guix-commits, 2020/07/05
- 06/86: gnu: Add libxmlb., guix-commits, 2020/07/05
- 08/86: gnu: Add gnome-photos., guix-commits, 2020/07/05
- 10/86: gnu: appstream-glib: Update package definition., guix-commits, 2020/07/05
- 11/86: gnu: at-spi2-core: Update package definition., guix-commits, 2020/07/05
- 12/86: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/07/05
- 15/86: gnu: font-cantarell: Update package definition., guix-commits, 2020/07/05
- 13/86: gnu: atk: Update to 2.36.0., guix-commits, 2020/07/05