[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/77: gnu: Add umockdev.
From: |
Ricardo Wurmus |
Subject: |
03/77: gnu: Add umockdev. |
Date: |
Mon, 6 Aug 2018 14:29:14 -0400 (EDT) |
rekado pushed a commit to branch wip-gnome-upgrades
in repository guix.
commit 51ea6211f964093d5b711045af69faff2ddb6e8a
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 242c531..cbc6e12 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -47,10 +47,16 @@
(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 pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages time)
@@ -2081,3 +2087,45 @@ aspects of UnitTest++. UnitTest++ is mostly standard
C++ and makes minimal use
of advanced library and language features, which means it should be easily
portable to just about any platform.")
(license license:expat)))
+
+(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 wip-gnome-upgrades created (now 5c7aca8), Ricardo Wurmus, 2018/08/06
- 04/77: gnu: sassc: Fix build., Ricardo Wurmus, 2018/08/06
- 05/77: gnu: gtksourceview: Update to 4.0.2., Ricardo Wurmus, 2018/08/06
- 02/77: gnu: polkit: Update to 0.115., Ricardo Wurmus, 2018/08/06
- 07/77: gnu: gtk-doc: Update to 1.28., Ricardo Wurmus, 2018/08/06
- 08/77: gnu: at-spi2-atk: Update to 2.26.2., Ricardo Wurmus, 2018/08/06
- 09/77: gnu: graphene: Remove custom autogen phase., Ricardo Wurmus, 2018/08/06
- 06/77: gnu: Add gtksourceview-3., Ricardo Wurmus, 2018/08/06
- 03/77: gnu: Add umockdev.,
Ricardo Wurmus <=
- 01/77: gnu: Add mozjs-52., Ricardo Wurmus, 2018/08/06
- 13/77: gnu: yelp-tools: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 14/77: gnu: shotwell: Update to 0.28.3., Ricardo Wurmus, 2018/08/06
- 12/77: gnu: yelp-xsl: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 21/77: gnu: glibmm: Update to 2.56.0., Ricardo Wurmus, 2018/08/06
- 15/77: gnu: file-roller: Update to 3.28.0., Ricardo Wurmus, 2018/08/06
- 19/77: gnu: Add libusbmuxd., Ricardo Wurmus, 2018/08/06
- 18/77: gnu: Add libplist., Ricardo Wurmus, 2018/08/06
- 24/77: gnu: libproxy: Use INVOKE in check phase., Ricardo Wurmus, 2018/08/06
- 20/77: gnu: Add libimobiledevice., Ricardo Wurmus, 2018/08/06