GNU bug report logs -
#69975
[PATCH] gnu: Add bash-unit.
Previous Next
To reply to this bug, email your comments to 69975 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#69975
; Package
guix-patches
.
(Sun, 24 Mar 2024 10:34:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
chris <chris <at> bumblehead.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 24 Mar 2024 10:34:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* (bash-unit): New variable.
Change-Id: I0952538a456e2ce5f6bbb94c0fa8c1b467606835
---
gnu/packages/bash.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index bb3359d5d1..17a371d385 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe <at> gmail.com>
;;; Copyright © 2020 Zhu Zihao <all_but_last <at> 163.com>
;;; Copyright © 2021 Marius Bakke <marius <at> gnu.org>
+;;; Copyright © 2024 chris <chris <at> bumblehead.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -47,6 +48,7 @@ (define-module (gnu packages bash)
#:use-module (guix monads)
#:use-module (guix store)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system trivial)
#:autoload (guix gnupg) (gnupg-verify*)
#:autoload (guix base32) (bytevector->nix-base32-string)
@@ -481,3 +483,33 @@ (define-public blesh
which replaces the default GNU Readline. It adds syntax highlighting, auto
suggestions, vim modes, and more to Bash interactive sessions.")
(license license:bsd-3)))
+
+(define-public bash-unit
+ (package
+ (name "bash-unit")
+ (version "2.3.1")
+ (home-page "https://github.com/pgrange/bash_unit")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16vaw9lc7g43g9va1kxbzxqs6b1mawsj4gqi8izz9km3dkbn3pli"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("bash_unit" "bin/"))
+ #:phases (modify-phases %standard-phases
+ (add-before 'install 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "./bash_unit" "tests/test_core.sh")) #t)))))
+ (inputs (list bash-minimal))
+ (synopsis "Bash unit testing framework")
+ (description
+ "@command{bash_unit} allows you to write unit tests, run them and, in case of
+ failure, display the stack trace with source file and line number indications
+ to locate the problem.")
+ (license license:gpl3+)))
base-commit: 28bc0e870b4d48b8e3e773382bb0e999df2e3611
--
2.41.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69975
; Package
guix-patches
.
(Tue, 09 Jul 2024 19:42:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 69975 <at> debbugs.gnu.org (full text, mbox):
hi chris,
this patch does not apply any longer. i can take a look if you are able
to find the time to send a new patch rebased on the latest master that
applies
--
all the best,
jgart
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69975
; Package
guix-patches
.
(Fri, 12 Jul 2024 07:26:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 69975 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/bash.scm (bash-unit): New variable.
Change-Id: Ic4185a2364922b03efe7f528e474ac9e71cbf66c
---
gnu/packages/bash.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 9ecec0a484..a497c77b67 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020 Zhu Zihao <all_but_last <at> 163.com>
;;; Copyright © 2021 Marius Bakke <marius <at> gnu.org>
;;; Copyright © 2024 Oleg Pykhalov <go.wigust <at> gmail.com>
+;;; Copyright © 2024 chris <chris <at> bumblehead.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -48,6 +49,7 @@ (define-module (gnu packages bash)
#:use-module (guix monads)
#:use-module (guix store)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system copy)
#:use-module (guix build-system trivial)
#:autoload (guix gnupg) (gnupg-verify*)
#:autoload (guix base32) (bytevector->nix-base32-string)
@@ -487,3 +489,33 @@ (define-public blesh
which replaces the default GNU Readline. It adds syntax highlighting, auto
suggestions, vim modes, and more to Bash interactive sessions.")
(license license:bsd-3)))
+
+(define-public bash-unit
+ (package
+ (name "bash-unit")
+ (version "2.3.1")
+ (home-page "https://github.com/pgrange/bash_unit")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "16vaw9lc7g43g9va1kxbzxqs6b1mawsj4gqi8izz9km3dkbn3pli"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("bash_unit" "bin/"))
+ #:phases (modify-phases %standard-phases
+ (add-before 'install 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "./bash_unit" "tests/test_core.sh")) #t)))))
+ (inputs (list bash-minimal))
+ (synopsis "Bash unit testing framework")
+ (description
+ "@command{bash_unit} allows you to write unit tests, run them and, in case of
+ failure, display the stack trace with source file and line number indications
+ to locate the problem.")
+ (license license:gpl3+)))
base-commit: 2d6a3799fcda5c017f653c6e96b91964b07a7ee0
--
2.45.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#69975
; Package
guix-patches
.
(Fri, 12 Jul 2024 07:30:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 69975 <at> debbugs.gnu.org (full text, mbox):
> can take a look if you are able to find the time to send a new patch rebased on the latest master
An updated patch is submitted
This bug report was last modified 129 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.