unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vivien Kraus via Guix-patches via <guix-patches@gnu.org>
To: 67464@debbugs.gnu.org
Cc: rg@raghavgururajan.name, liliana.prikler@gmail.com,
	maxim.cournoyer@gmail.com
Subject: [bug#67464] [PATCH gnome-team v2 2/4] gnu: Add munit.
Date: Sun, 26 Nov 2023 16:03:31 +0100	[thread overview]
Message-ID: <395910656e7754a5d7371857650272cb19650e48.1701107559.git.vivien@planete-kraus.eu> (raw)
In-Reply-To: <cover.1701107559.git.vivien@planete-kraus.eu>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1815 bytes --]

* gnu/packages/check.scm (munit): New variable.

Change-Id: I193e55ef4ceec1d62f595dd779f7b3d76154fad4
---
 gnu/packages/check.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 1f5b886977..6a868ba477 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3648,3 +3648,34 @@ (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
+  (package
+    (name "munit")
+    ;; No release for years, https://github.com/nemequ/munit/issues/95
+    (version "0.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/nemequ/munit")
+                    (commit "fbbdf1467eb0d04a6ee465def2e529e4c87f2118")))
+              (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-installability
+            ;; See https://github.com/nemequ/munit/pull/67
+            (lambda _
+              (substitute* "meson.build"
+                (("install: meson.is_subproject\\(\\)")
+                 "install: not meson.is_subproject()")))))))
+    (synopsis "Small unit testing framework for C")
+    (description
+     "µnit is a small testing framework for C.")
+    (home-page "https://nemequ.github.io/munit/")
+    (license license:x11)))
-- 
2.41.0




  parent reply	other threads:[~2023-11-27 17:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-26 22:52 [bug#67464] [PATCH gnome-team 0/4] Update mutter Vivien Kraus via Guix-patches via
2023-11-25 15:11 ` [bug#67464] [PATCH gnome-team v3] gnu: mutter: Update to 44.7 Vivien Kraus via Guix-patches via
2023-12-03 16:32   ` Maxim Cournoyer
2023-11-25 15:11 ` [bug#67464] [PATCH gnome-team v4] " Vivien Kraus via Guix-patches via
2023-12-03 18:42   ` Maxim Cournoyer
2023-12-19 22:56     ` bug#67464: " Liliana Marie Prikler
2023-11-25 15:11 ` [bug#67464] [PATCH gnome-team 1/4] gnu: mutter: Update to 44.5 Vivien Kraus via Guix-patches via
2023-11-26 15:03 ` [bug#67464] [PATCH gnome-team 2/4] gnu: Add munit Vivien Kraus via Guix-patches via
2023-11-26 15:03 ` [bug#67464] [PATCH gnome-team 3/4] gnu: Add libei Vivien Kraus via Guix-patches via
2023-11-26 15:06 ` [bug#67464] [PATCH gnome-team 4/4] gnu: mutter: Update to 45.1 Vivien Kraus via Guix-patches via
2023-11-27 17:52 ` [bug#67464] [PATCH gnome-team v2 0/4] Update mutter (better) Vivien Kraus via Guix-patches via
2023-11-25 15:11   ` [bug#67464] [PATCH gnome-team v2 1/4] gnu: mutter: Update to 44.6 Vivien Kraus via Guix-patches via
2023-11-26 15:03   ` Vivien Kraus via Guix-patches via [this message]
2023-11-26 15:03   ` [bug#67464] [PATCH gnome-team v2 3/4] gnu: Add libei Vivien Kraus via Guix-patches via
2023-11-26 15:06   ` [bug#67464] [PATCH gnome-team v2 4/4] gnu: mutter: Update to 45.1 Vivien Kraus via Guix-patches via
2023-11-27 17:55   ` [bug#67464] [PATCH gnome-team v2 0/4] Update mutter (better) Vivien Kraus via Guix-patches via
2023-11-27 17:57   ` Liliana Marie Prikler
2023-11-27 18:10     ` Vivien Kraus via Guix-patches via
2023-11-27 19:20       ` 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=395910656e7754a5d7371857650272cb19650e48.1701107559.git.vivien@planete-kraus.eu \
    --to=guix-patches@gnu.org \
    --cc=67464@debbugs.gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=maxim.cournoyer@gmail.com \
    --cc=rg@raghavgururajan.name \
    --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).