[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: Add umockdev.
From: |
guix-commits |
Subject: |
01/10: gnu: Add umockdev. |
Date: |
Fri, 18 Jan 2019 14:45:04 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit bd9d3db6fe03fe5605c9ceed88eefd3e8bfd9bf3
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 f0e8524..439a668 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 python-xyz)
@@ -2154,3 +2160,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+)))
- branch master updated (dbac483 -> 64a1ddb), guix-commits, 2019/01/18
- 04/10: gnu: Add libusbmuxd., guix-commits, 2019/01/18
- 02/10: gnu: libusb.scm: Use license: prefix., guix-commits, 2019/01/18
- 03/10: gnu: Add libplist., guix-commits, 2019/01/18
- 06/10: gnu: Add libdazzle., guix-commits, 2019/01/18
- 01/10: gnu: Add umockdev.,
guix-commits <=
- 05/10: gnu: Add libimobiledevice., guix-commits, 2019/01/18
- 08/10: gnu: Add mozjs-60., guix-commits, 2019/01/18
- 10/10: gnu: graphene: Remove custom autogen phase., guix-commits, 2019/01/18
- 07/10: gnu: mozjs-52: Add configure flag to prevent crash., guix-commits, 2019/01/18
- 09/10: gnu: Add libnfs., guix-commits, 2019/01/18