[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
65/73: gnu: Add munit.
From: |
guix-commits |
Subject: |
65/73: gnu: Add munit. |
Date: |
Sun, 15 Sep 2024 04:50:20 -0400 (EDT) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit 5555cc3f7505a122fb7eb58f5590db44595e4b33
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Sun Nov 26 16:03:31 2023 +0100
gnu: Add munit.
* gnu/packages/check.scm (munit): New variable.
Change-Id: I193e55ef4ceec1d62f595dd779f7b3d76154fad4
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
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 @@ helpers for writing tests.")
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))))
- 31/73: gnu: simple-scan: Update to 46.0., (continued)
- 31/73: gnu: simple-scan: Update to 46.0., guix-commits, 2024/09/15
- 41/73: gnu: pango: Update to 1.54.0., guix-commits, 2024/09/15
- 16/73: gnu: Make vte-with-gtk4 the default vte., guix-commits, 2024/09/15
- 17/73: gnu: vte: Update to 0.76.3., guix-commits, 2024/09/15
- 21/73: gnu: gnome-online-accounts: Update to 3.50.3., guix-commits, 2024/09/15
- 28/73: gnu: gnome-user-docs: Update to 46.1., guix-commits, 2024/09/15
- 30/73: gnu: rygel: Update to 0.42.6., guix-commits, 2024/09/15
- 48/73: gnu: gtk+: Update to 3.24.41., guix-commits, 2024/09/15
- 46/73: gnu: gtkmm: Update to 4.14.0., guix-commits, 2024/09/15
- 64/73: gnu: gdm: Update to 46.2., guix-commits, 2024/09/15
- 65/73: gnu: Add munit.,
guix-commits <=
- 68/73: gnu: xdg-desktop-portal: Improve style., guix-commits, 2024/09/15
- 20/73: gnu: Add tecla., guix-commits, 2024/09/15
- 24/73: gnu: gnome-keyring: Update to 46.1., guix-commits, 2024/09/15
- 70/73: gnu: sysprof: Propagate libdex., guix-commits, 2024/09/15
- 25/73: gnu: gnome-maps: Update to 46.11., guix-commits, 2024/09/15
- 26/73: gnu: gtksourceview: Update to 5.12.1., guix-commits, 2024/09/15
- 47/73: gnu: pangomm: Update to 2.54.0., guix-commits, 2024/09/15
- 44/73: gnu: at-spi2-core: Update to 2.52.0., guix-commits, 2024/09/15
- 49/73: gnu: gtk-doc: Update to 1.34.0., guix-commits, 2024/09/15
- 55/73: gnu: gst-plugins-ugly: Update to 1.24.6., guix-commits, 2024/09/15