[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/135: gnu: Add umockdev.
From: |
guix-commits |
Subject: |
01/135: gnu: Add umockdev. |
Date: |
Fri, 21 Dec 2018 14:37:24 -0500 (EST) |
rekado pushed a commit to branch wip-gnome3.30
in repository guix.
commit 3ef7a2d8d2feff28a52e3f11e22d511e51df6d0f
Author: Ricardo Wurmus <address@hidden>
Date: Sun Aug 5 13:02:39 2018 +0200
gnu: Add umockdev.
* gnu/packages/check.scm (umockdev): New variable.
---
gnu/packages/check.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 5bf849d..7a5be3d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -47,11 +47,17 @@
(define-module (gnu packages check)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages golang)
+ #:use-module (gnu packages gtk)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages time)
@@ -2152,3 +2158,45 @@ application \"sees\". It is meant to be loaded using
the dynamic linker's
@code{LD_PRELOAD} environment variable. The @command{faketime} command
provides a simple way to achieve this.")
(license license:gpl2)))
+
+(define-public umockdev
+ (package
+ (name "umockdev")
+ (version "0.11.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/martinpitt/umockdev/"
+ "releases/download/" version "/"
+ "umockdev-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1in2hdan1g62wpvgjlj8mci85551ipr1964j2b9j06gm3blpihcx"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'skip-broken-test
+ (lambda _
+ (substitute* "tests/test-umockdev.c"
+ (("/\\* sys/ in other dir")
+ (string-append "return; // ")))
+ #t)))))
+ (native-inputs
+ `(("vala" ,vala)
+ ("python" ,python) ; for tests
+ ("which" ,which) ; for tests
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("glib" ,glib)
+ ("eudev" ,eudev)
+ ("libgudev" ,libgudev)
+ ("gobject-introspection" ,gobject-introspection)))
+ (home-page "https://github.com/martinpitt/umockdev/")
+ (synopsis "Mock hardware devices for creating unit tests")
+ (description "umockdev mocks hardware devices for creating integration
+tests for hardware related libraries and programs. It also provides tools to
+record the properties and behaviour of particular devices, and to run a
+program or test suite under a test bed with the previously recorded devices
+loaded.")
+ (license license:lgpl2.1+)))
- 22/135: gnu: adwaita-icon-theme: Update to 3.28.0., (continued)
- 22/135: gnu: adwaita-icon-theme: Update to 3.28.0., guix-commits, 2018/12/21
- 84/135: gnu: gnome-disk-utility: Update to 3.30.2., guix-commits, 2018/12/21
- 73/135: gnu: mozjs-52: Add configure flag to prevent crash., guix-commits, 2018/12/21
- 37/135: gnu: librsvg: Build Vala bindings., guix-commits, 2018/12/21
- 08/135: gnu: yelp-xsl: Update to 3.28.0., guix-commits, 2018/12/21
- 19/135: gnu: gnome-desktop: Update to 3.28.2., guix-commits, 2018/12/21
- 10/135: gnu: file-roller: Update to 3.28.0., guix-commits, 2018/12/21
- 59/135: gnu: gnome-bluetooth: Update to 3.28.0., guix-commits, 2018/12/21
- 06/135: gnu: at-spi2-core: Update to 2.28.0., guix-commits, 2018/12/21
- 85/135: gnu: evince: Update to 3.30.2., guix-commits, 2018/12/21
- 01/135: gnu: Add umockdev.,
guix-commits <=
- 131/135: gnu: eog-plugins: Update to 3.26.3., guix-commits, 2018/12/21
- 116/135: gnu: network-manager-applet: Use meson build system., guix-commits, 2018/12/21
- 47/135: gnu: python-pyatspi: Update to 2.26.0., guix-commits, 2018/12/21
- 104/135: gnu: gtkmm: Update to 3.24.0., guix-commits, 2018/12/21
- 130/135: gnu: libgnome-games-support: Update to 1.4.2., guix-commits, 2018/12/21
- 15/135: gnu: Add libimobiledevice., guix-commits, 2018/12/21
- 62/135: gnu: gdm: Update to 3.28.2., guix-commits, 2018/12/21
- 13/135: gnu: Add libplist., guix-commits, 2018/12/21
- 80/135: gnu: wayland-protocols: Update to 1.17., guix-commits, 2018/12/21
- 86/135: gnu: gsettings-desktop-schemas: Update to 3.28.1., guix-commits, 2018/12/21