gnu: Use prefix "license:" to import (guix licenses)

* gnu/packages/bash.scm
(bash, bash-completion, bash-tap, bats, bash-ctypes)[license]:

Rename with prefix "license:".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Zhu Zihao 2020-10-23 23:43:05 +08:00 committed by Ludovic Courtès
parent aa73b41acb
commit 0be00efff5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -23,7 +23,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages bash) (define-module (gnu packages bash)
#:use-module (guix licenses) #:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bootstrap) #:use-module (gnu packages bootstrap)
@ -215,7 +215,7 @@ (define-public bash
allows command-line editing, unlimited command history, shell functions and allows command-line editing, unlimited command history, shell functions and
aliases, and job control while still allowing most sh scripts to be run aliases, and job control while still allowing most sh scripts to be run
without modification.") without modification.")
(license gpl3+) (license license:gpl3+)
(home-page "https://www.gnu.org/software/bash/")))) (home-page "https://www.gnu.org/software/bash/"))))
(define-public bash-minimal (define-public bash-minimal
@ -325,7 +325,7 @@ (define-public bash-completion
"This package provides extensions that allow Bash to provide adapted "This package provides extensions that allow Bash to provide adapted
completion for many common commands.") completion for many common commands.")
(home-page "https://github.com/scop/bash-completion") (home-page "https://github.com/scop/bash-completion")
(license gpl2+))) (license license:gpl2+)))
(define-public bash-tap (define-public bash-tap
(package (package
@ -369,7 +369,7 @@ (define-public bash-tap
for Bash shell scripts and functions. Along with the Test::More-style testing for Bash shell scripts and functions. Along with the Test::More-style testing
helpers it provides helper functions for mocking commands and in-process output helpers it provides helper functions for mocking commands and in-process output
capturing.") capturing.")
(license expat))) (license license:expat)))
(define-public bats (define-public bats
(package (package
@ -419,7 +419,7 @@ (define-public bats
framework for Bash. It provides a simple way to verify that the UNIX programs framework for Bash. It provides a simple way to verify that the UNIX programs
you write behave as expected. Bats is most useful when testing software written you write behave as expected. Bats is most useful when testing software written
in Bash, but you can use it to test any UNIX program.") in Bash, but you can use it to test any UNIX program.")
(license expat))) (license license:expat)))
(define-public bash-ctypes (define-public bash-ctypes
(package (package
@ -447,4 +447,4 @@ (define-public bash-ctypes
(description "Bash-ctypes is a Bash plugin that provides a foreign (description "Bash-ctypes is a Bash plugin that provides a foreign
function interface (FFI) directly in your shell. In other words, it allows function interface (FFI) directly in your shell. In other words, it allows
you to call routines in shared libraries from within Bash.") you to call routines in shared libraries from within Bash.")
(license expat))) (license license:expat)))