From: Vivien Kraus <liliana.prikler@gmail.com>
To: 73128@debbugs.gnu.org
Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com,
vivien@planete-kraus.eu
Subject: [bug#73128] [PATCH gnome-team v2 06/13] gnu: Add munit.
Date: Fri, 13 Sep 2024 09:37:01 +0200 [thread overview]
Message-ID: <a10de574705797e6e8c72148e8ac508bbbacff5e.1726213021.git.liliana.prikler@gmail.com> (raw)
In-Reply-To: <cover.1726213021.git.liliana.prikler@gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2473 bytes --]
* gnu/packages/check.scm (munit): New variable.
Change-Id: I193e55ef4ceec1d62f595dd779f7b3d76154fad4
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/check.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 248d1c4231..fd865552fc 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -4206,3 +4206,43 @@ (define-public subunit
command line filters to process a subunit stream and language bindings for
Python, C, C++ and shell. Bindings are easy to write for other languages.")
(license (list license:asl2.0 license:bsd-3)))) ;user can pick
+
+(define-public munit
+ ;; Last release in 2016, see also <https://github.com/nemequ/munit/issues/95>.
+ (let ((commit "fbbdf1467eb0d04a6ee465def2e529e4c87f2118")
+ (revision "1"))
+ (package
+ (name "munit")
+ (version (git-version "0.2.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nemequ/munit")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "13725v4pps2bpndniksa58nqi9gvx0f0900k0rqvp95bxw5z8vda"))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-install
+ ;; munit is paradoxically configured to only be installed
+ ;; when built as a subproject.
+ ;; See <https://github.com/nemequ/munit/pull/67> for a
+ ;; pull request that aims to fix this. As we don't care about
+ ;; bundling scenarios (or rather: aim to unbundle everything),
+ ;; install it unconditionally.
+ (lambda _
+ (substitute* "meson.build"
+ (("install: meson.is_subproject\\(\\)")
+ "install: true")))))))
+ (synopsis "Small unit testing framework for C")
+ (description
+ "µnit is a small testing framework for C with nested test suites,
+parameterized tests, timing of the wall clock and CPU time, reproducible
+random number generation, and more.")
+ (home-page "https://nemequ.github.io/munit/")
+ (license license:x11))))
--
2.45.2
next prev parent reply other threads:[~2024-09-13 7:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1726213021.git.liliana.prikler@gmail.com>
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 12/13] gnu: mutter: Update to 46.4 Liliana Marie Prikler
2024-09-13 15:01 ` Maxim Cournoyer
2024-09-13 15:31 ` Liliana Marie Prikler
2024-09-14 13:27 ` Maxim Cournoyer
2024-09-14 13:54 ` Liliana Marie Prikler
2024-09-14 14:41 ` Maxim Cournoyer
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 09/13] gnu: xdg-desktop-portal: Improve style Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 13/13] gnu: gnome-remote-desktop: Update to 46.3 Liliana Marie Prikler
2024-09-13 15:03 ` Maxim Cournoyer
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 08/13] gnu: xdg-desktop-portal: Update to 1.18.4 dan
2024-09-13 7:37 ` Vivien Kraus [this message]
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 02/13] gnu: gnome-music: Update to 46.0 Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 03/13] gnu: gnome-session: " Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 01/13] gnu: orca: Update to 46.2 Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 04/13] gnu: gnome-control-center: Update to 46.3 Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 11/13] gnu: sysprof: Propagate libdex Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 05/13] gnu: gdm: Update to 46.2 Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 07/13] gnu: Add libei Liliana Marie Prikler
2024-09-13 7:37 ` [bug#73128] [PATCH gnome-team v2 10/13] gnu: xdg-desktop-portal-gnome: Update to 46.2 Liliana Marie Prikler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a10de574705797e6e8c72148e8ac508bbbacff5e.1726213021.git.liliana.prikler@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=73128@debbugs.gnu.org \
--cc=maxim.cournoyer@gmail.com \
--cc=vivien@planete-kraus.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).