2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2023-02-28 11:06:22 -05:00
|
|
|
;;; Copyright © 2012-2017, 2019-2020, 2022, 2023 Ludovic Courtès <ludo@gnu.org>
|
2018-03-16 10:17:40 -04:00
|
|
|
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
|
2017-01-21 21:35:34 -05:00
|
|
|
;;; Copyright © 2015, 2017 Leo Famulari <leo@famulari.name>
|
2022-03-23 03:24:57 -04:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2020-07-09 14:34:19 -04:00
|
|
|
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-03-06 04:24:15 -05:00
|
|
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
2020-10-23 08:47:04 -04:00
|
|
|
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
|
2021-05-08 12:24:32 -04:00
|
|
|
;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; This file is part of GNU Guix.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
2013-01-05 18:47:50 -05:00
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
2013-01-17 19:06:24 -05:00
|
|
|
(define-module (gnu packages bash)
|
2020-10-23 11:43:05 -04:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-03-12 17:08:04 -04:00
|
|
|
#:use-module (gnu packages)
|
2020-06-07 13:58:27 -04:00
|
|
|
#:use-module (gnu packages base)
|
2017-03-07 17:42:13 -05:00
|
|
|
#:use-module (gnu packages bootstrap)
|
2020-10-23 08:47:04 -04:00
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages elf)
|
2013-01-17 19:06:24 -05:00
|
|
|
#:use-module (gnu packages ncurses)
|
|
|
|
#:use-module (gnu packages readline)
|
2014-09-28 01:48:58 -04:00
|
|
|
#:use-module (gnu packages bison)
|
2015-04-19 16:46:10 -04:00
|
|
|
#:use-module (gnu packages linux)
|
2020-10-23 08:47:04 -04:00
|
|
|
#:use-module (gnu packages libffi)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2020-06-07 13:58:27 -04:00
|
|
|
#:use-module (gnu packages guile)
|
2022-09-13 23:07:08 -04:00
|
|
|
#:use-module (gnu packages version-control)
|
|
|
|
#:use-module (gnu packages less)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
#:use-module (guix packages)
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
#:use-module (guix download)
|
2019-11-03 00:00:00 -04:00
|
|
|
#:use-module (guix git-download)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
#:use-module (guix utils)
|
2017-02-10 04:34:33 -05:00
|
|
|
#:use-module (guix gexp)
|
|
|
|
#:use-module (guix monads)
|
|
|
|
#:use-module (guix store)
|
2014-09-24 13:19:03 -04:00
|
|
|
#:use-module (guix build-system gnu)
|
2020-06-07 13:58:27 -04:00
|
|
|
#:use-module (guix build-system trivial)
|
2014-09-24 13:19:03 -04:00
|
|
|
#:autoload (guix gnupg) (gnupg-verify*)
|
|
|
|
#:autoload (guix base32) (bytevector->nix-base32-string)
|
2020-05-22 12:34:22 -04:00
|
|
|
|
|
|
|
;; See <https://bugs.gnu.org/41457> for why not #:autoload here.
|
|
|
|
#:use-module ((gcrypt hash) #:select (port-sha256))
|
|
|
|
|
2014-09-24 13:19:03 -04:00
|
|
|
#:use-module (srfi srfi-1)
|
|
|
|
#:use-module (srfi srfi-26)
|
|
|
|
#:use-module (ice-9 format))
|
|
|
|
|
|
|
|
(define (patch-url seqno)
|
|
|
|
"Return the URL of Bash patch number SEQNO."
|
2021-05-08 12:24:32 -04:00
|
|
|
(format #f "mirror://gnu/bash/bash-5.1-patches/bash51-~3,'0d" seqno))
|
2014-09-24 13:19:03 -04:00
|
|
|
|
2020-05-19 09:55:08 -04:00
|
|
|
(define (bash-patch seqno sha256-bv)
|
|
|
|
"Return the origin of Bash patch SEQNO, with expected hash SHA256-BV."
|
2014-09-24 13:19:03 -04:00
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (patch-url seqno))
|
2020-05-19 09:55:08 -04:00
|
|
|
(sha256 sha256-bv)))
|
2014-09-24 13:19:03 -04:00
|
|
|
|
|
|
|
(define-syntax-rule (patch-series (seqno hash) ...)
|
|
|
|
(list (bash-patch seqno (base32 hash))
|
|
|
|
...))
|
|
|
|
|
2021-05-08 12:24:32 -04:00
|
|
|
(define %patch-series-5.1
|
2022-03-23 03:24:57 -04:00
|
|
|
;; This is the current patches series for 5.1, generated using
|
2014-09-24 13:19:03 -04:00
|
|
|
;; 'download-patches' below.
|
2016-11-27 02:24:17 -05:00
|
|
|
(patch-series
|
2021-05-08 12:24:32 -04:00
|
|
|
(1 "1ymm8ppss6gyh9ifznjwiabrb4k91npd09c10y7mk66xp8yppc7b")
|
|
|
|
(2 "1gjx9zqcm407am3n2sh44b8dxm48kgm15rzfiijqxr01m0hn3shm")
|
|
|
|
(3 "1cdnpbfc64yhvkjj4d12s9ywp11g195vzfl1cab24sq55wkcrwi2")
|
|
|
|
(4 "11iwhy6v562bv0kk7lwj7f5jj65ma9bblivy0v02h3ggcibbdbls")
|
|
|
|
(5 "19bdyigdr81824nxvqr6a7k0cax60wq7376j6b91afbnwvlvbjyc")
|
|
|
|
(6 "051x8wlwrqk0yr0zg378vh824iklfl5g9pkmcdf62qp8gn9pvqbm")
|
|
|
|
(7 "0fir80pp1gmlpadmqcgkrv4y119pc7xllchjzg05fd7px73viz5c")
|
2022-03-23 03:24:57 -04:00
|
|
|
(8 "1lfjgshk8i9vch92p5wgc9r90j3phw79aa7gbai89w183b2z6b7j")
|
|
|
|
(9 "1vn36dzd9g4y1h3jiss6418crla0rbcd0d6wwsyv9d5l7aaxlp74")
|
|
|
|
(10 "0amfmvbzsand7bdypylkjdpcp88fa3cplfshn7vyzv2ff2rdgj52")
|
|
|
|
(11 "0yq24abb4fzfxqnwl20b330sxl9lr9ds0nc4yi30f81l94b1y6aq")
|
|
|
|
(12 "165bff97ffih49vfs4mkr5w3z5gn1w6zfyrf773iajkw6v48kw8h")
|
|
|
|
(13 "1bfmgv3lagbk3aq9a831d29xv7jz4sjq7jhn9hq89limyinvdb67")
|
|
|
|
(14 "1l43dw4kpddn7l41i8wmj406z9abxky1wb3rk8krcys33g4f0kka")
|
|
|
|
(15 "1w40vzadzx019v0zhs4q6yqycrk04x1k8xs6qb73vk7ny4p6jdqv")
|
|
|
|
(16 "0krqqljz4bkp9wrdnwfx51bxkb8rkwf8ivc93as1znx5fr7i96c8")))
|
2015-12-15 11:59:49 -05:00
|
|
|
|
2014-09-24 13:19:03 -04:00
|
|
|
(define (download-patches store count)
|
|
|
|
"Download COUNT Bash patches into store. Return a list of
|
|
|
|
number/base32-hash tuples, directly usable in the 'patch-series' form."
|
|
|
|
(unfold (cut > <> count)
|
|
|
|
(lambda (number)
|
|
|
|
(let* ((patch (download-to-store store (patch-url number)))
|
|
|
|
(sig (download-to-store store
|
|
|
|
(string-append (patch-url number)
|
|
|
|
".sig"))))
|
2019-12-20 15:49:43 -05:00
|
|
|
(unless (eq? 'valid-signature (gnupg-verify* sig patch))
|
2014-09-24 13:19:03 -04:00
|
|
|
(error "failed to verify signature" patch))
|
|
|
|
|
|
|
|
(list number
|
|
|
|
(bytevector->nix-base32-string
|
|
|
|
(call-with-input-file patch port-sha256)))))
|
|
|
|
1+
|
|
|
|
1))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
|
|
(define-public bash
|
2018-02-07 06:29:22 -05:00
|
|
|
(let* ((cppflags (string-join '("-DDEFAULT_PATH_VALUE='\"/no-such-path\"'"
|
2013-05-26 16:48:22 -04:00
|
|
|
"-DSTANDARD_UTILS_PATH='\"/no-such-path\"'"
|
|
|
|
"-DNON_INTERACTIVE_LOGIN_SHELLS"
|
|
|
|
"-DSSH_SOURCE_BASHRC")
|
|
|
|
" "))
|
|
|
|
(configure-flags
|
2022-03-28 03:22:06 -04:00
|
|
|
``("--without-bash-malloc"
|
|
|
|
"--with-installed-readline"
|
2013-05-26 16:48:22 -04:00
|
|
|
,,(string-append "CPPFLAGS=" cppflags)
|
|
|
|
,(string-append
|
|
|
|
"LDFLAGS=-Wl,-rpath -Wl,"
|
|
|
|
(assoc-ref %build-inputs "readline")
|
|
|
|
"/lib"
|
|
|
|
" -Wl,-rpath -Wl,"
|
|
|
|
(assoc-ref %build-inputs "ncurses")
|
|
|
|
"/lib")))
|
2021-05-08 12:24:32 -04:00
|
|
|
(version "5.1"))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(package
|
|
|
|
(name "bash")
|
|
|
|
(source (origin
|
Remove (guix http) and (guix ftp).
* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
2012-11-12 18:22:44 -05:00
|
|
|
(method url-fetch)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(uri (string-append
|
distro: Use `mirror://' URLs.
* distro/packages/base.scm, distro/packages/bash.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gperf.scm, distro/packages/guile.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/pth.scm, distro/packages/readline.scm,
distro/packages/recutils.scm: Use `mirror://gnu' URLs.
* distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
2012-11-12 17:34:03 -05:00
|
|
|
"mirror://gnu/bash/bash-" version ".tar.gz"))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2021-05-08 12:24:32 -04:00
|
|
|
"1alv68wplnfdm6mh39hm57060xgssb9vqca4yr1cyva0c342n0fc"))
|
2019-03-02 15:19:37 -05:00
|
|
|
(patch-flags '("-p0"))
|
2019-08-15 16:45:03 -04:00
|
|
|
(patches (cons (search-patch "bash-linux-pgrp-pipe.patch")
|
2021-05-08 12:24:32 -04:00
|
|
|
%patch-series-5.1))))
|
|
|
|
(version (string-append version "." (number->string (length %patch-series-5.1))))
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(build-system gnu-build-system)
|
2015-03-04 17:21:09 -05:00
|
|
|
|
|
|
|
(outputs '("out"
|
2015-12-15 16:22:59 -05:00
|
|
|
"doc" ;1.7 MiB of HTML and extra files
|
|
|
|
"include")) ;headers used by extensions
|
2021-12-13 11:18:24 -05:00
|
|
|
(inputs (list readline ncurses)) ;TODO: add texinfo
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(arguments
|
2013-05-26 16:48:22 -04:00
|
|
|
`(;; When cross-compiling, `configure' incorrectly guesses that job
|
|
|
|
;; control is missing.
|
|
|
|
#:configure-flags ,(if (%current-target-system)
|
|
|
|
`(cons* "bash_cv_job_control_missing=no"
|
|
|
|
,configure-flags)
|
|
|
|
configure-flags)
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
|
|
|
|
;; Bash is reportedly not parallel-safe. See, for instance,
|
|
|
|
;; <http://patches.openembedded.org/patch/32745/> and
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 09:50:36 -05:00
|
|
|
;; <http://git.buildroot.net/buildroot/commit/?h=79e2d802a>.
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
#:parallel-build? #f
|
|
|
|
#:parallel-tests? #f
|
|
|
|
|
|
|
|
;; XXX: The tests have a lot of hard-coded paths, so disable them
|
|
|
|
;; for now.
|
|
|
|
#:tests? #f
|
|
|
|
|
2016-09-30 07:23:23 -04:00
|
|
|
#:modules ((srfi srfi-26)
|
2015-10-18 15:40:06 -04:00
|
|
|
(guix build utils)
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
2016-09-30 07:23:23 -04:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'install 'install-sh-symlink
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Add a `sh' -> `bash' link.
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(with-directory-excursion (string-append out "/bin")
|
2018-03-16 10:17:40 -04:00
|
|
|
(symlink "bash" "sh")
|
|
|
|
#t))))
|
2016-09-30 07:23:23 -04:00
|
|
|
|
|
|
|
(add-after 'install 'move-development-files
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
;; Move 'Makefile.inc' and 'bash.pc' to "include" to avoid
|
|
|
|
;; circular references among the outputs.
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
(include (assoc-ref outputs "include"))
|
|
|
|
(lib (cut string-append <> "/lib/bash")))
|
|
|
|
(mkdir-p (lib include))
|
|
|
|
(rename-file (string-append (lib out)
|
|
|
|
"/Makefile.inc")
|
|
|
|
(string-append (lib include)
|
|
|
|
"/Makefile.inc"))
|
|
|
|
(rename-file (string-append out "/lib/pkgconfig")
|
|
|
|
(string-append include
|
|
|
|
"/lib/pkgconfig"))
|
2017-01-27 03:50:07 -05:00
|
|
|
|
|
|
|
;; Don't capture the absolute file name of 'install' to avoid
|
|
|
|
;; retaining a dependency on Coreutils.
|
|
|
|
(substitute* (string-append (lib include)
|
|
|
|
"/Makefile.inc")
|
|
|
|
(("^INSTALL =.*")
|
|
|
|
"INSTALL = install -c\n"))
|
2016-09-30 07:23:23 -04:00
|
|
|
#t))))))
|
|
|
|
|
|
|
|
(native-search-paths
|
|
|
|
(list (search-path-specification ;new in 4.4
|
|
|
|
(variable "BASH_LOADABLES_PATH")
|
|
|
|
(files '("lib/bash")))))
|
|
|
|
|
gnu: Use synopses from the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/gawk.scm,
gnu/packages/gcc.scm,
packages/gcc.scm, b/gnu/packages/gcc.scm,
4b982 100644
s/gcc.scm,
s/gcc.scm,
@@
%standard-phases)))))
`((gcc-libc . ,(assoc-ref inputs "libc"))))
The GNU Compiler Collection")
GNU Compiler Collection")
n
ompiler Collection includes compiler front ends for C, C++,
tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as
gnu/packages/gdb.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/glib.scm,
gnu/packages/global.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mailutils.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm: Use synopses from the Womb.
2013-04-17 12:04:25 -04:00
|
|
|
(synopsis "The GNU Bourne-Again SHell")
|
distro: Split (distro packages base) into several files.
* distro/packages/base.scm (libsigsegv, gawk, perl, m4, gmp, mpfr, mpc,
ncurses, readline, bash, libtool, libunistring, libffi, pkg-config,
libgc): Move to modules of their own.
(guile-1.8, guile-2.0): Move to...
* distro/packages/guile.scm: ... here.
* distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/gawk.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/m4.scm,
distro/packages/multiprecision.scm, distro/packages/ncurses.scm,
distro/packages/perl.scm, distro/packages/pkg-config.scm,
distro/packages/readline.scm: New files.
2012-11-04 16:37:22 -05:00
|
|
|
(description
|
2013-12-01 16:33:23 -05:00
|
|
|
"Bash is the shell, or command-line interpreter, of the GNU system. It
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
is compatible with the Bourne Shell, but it also integrates useful features
|
|
|
|
from the Korn Shell and the C Shell and new improvements of its own. It
|
2013-12-01 16:33:23 -05:00
|
|
|
allows command-line editing, unlimited command history, shell functions and
|
Synchronize package descriptions with the Womb.
* gnu/packages/algebra.scm,
gnu/packages/aspell.scm,
gnu/packages/autotools.scm,
gnu/packages/base.scm,
gnu/packages/bash.scm,
gnu/packages/bison.scm,
gnu/packages/cdrom.scm,
gnu/packages/cflow.scm,
gnu/packages/compression.scm,
gnu/packages/cpio.scm,
gnu/packages/cppi.scm,
gnu/packages/ddrescue.scm,
gnu/packages/dejagnu.scm,
gnu/packages/ed.scm,
gnu/packages/emacs.scm,
gnu/packages/fdisk.scm,
gnu/packages/freeipmi.scm,
gnu/packages/gawk.scm,
gnu/packages/gcal.scm,
gnu/packages/gcc.scm,
gnu/packages/gdb.scm,
gnu/packages/gdbm.scm,
gnu/packages/gettext.scm,
gnu/packages/ghostscript.scm,
gnu/packages/global.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnutls.scm,
gnu/packages/gperf.scm,
gnu/packages/gprolog.scm,
gnu/packages/groff.scm,
gnu/packages/grub.scm,
gnu/packages/gsasl.scm,
gnu/packages/guile.scm,
gnu/packages/gv.scm,
gnu/packages/help2man.scm,
gnu/packages/idutils.scm,
gnu/packages/indent.scm,
gnu/packages/less.scm,
gnu/packages/libidn.scm,
gnu/packages/libsigsegv.scm,
gnu/packages/libunistring.scm,
gnu/packages/lightning.scm,
gnu/packages/linux.scm,
gnu/packages/lsh.scm,
gnu/packages/m4.scm,
gnu/packages/mail.scm,
gnu/packages/maths.scm,
gnu/packages/multiprecision.scm,
gnu/packages/nano.scm,
gnu/packages/ncurses.scm,
gnu/packages/nettle.scm,
gnu/packages/ocrad.scm,
gnu/packages/oggvorbis.scm,
gnu/packages/parted.scm,
gnu/packages/plotutils.scm,
gnu/packages/pth.scm,
gnu/packages/readline.scm,
gnu/packages/recutils.scm,
gnu/packages/rush.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/shishi.scm,
gnu/packages/smalltalk.scm,
gnu/packages/system.scm,
gnu/packages/texinfo.scm,
gnu/packages/time.scm,
gnu/packages/unrtf.scm,
gnu/packages/version-control.scm,
gnu/packages/wdiff.scm,
gnu/packages/wget.scm,
gnu/packages/which.scm,
gnu/packages/xnee.scm,
gnu/packages/zile.scm: Change value of the 'description' field to that
of the Womb.
2013-10-09 10:14:23 -04:00
|
|
|
aliases, and job control while still allowing most sh scripts to be run
|
|
|
|
without modification.")
|
2020-10-23 11:43:05 -04:00
|
|
|
(license license:gpl3+)
|
2017-03-29 18:48:16 -04:00
|
|
|
(home-page "https://www.gnu.org/software/bash/"))))
|
2013-01-01 10:54:45 -05:00
|
|
|
|
2015-09-03 04:12:28 -04:00
|
|
|
(define-public bash-minimal
|
2013-01-01 10:54:45 -05:00
|
|
|
;; A stripped-down Bash for non-interactive use.
|
|
|
|
(package (inherit bash)
|
2015-09-03 04:12:28 -04:00
|
|
|
(name "bash-minimal")
|
2013-01-01 10:54:45 -05:00
|
|
|
(inputs '()) ; no readline, no curses
|
2016-10-13 07:01:37 -04:00
|
|
|
|
|
|
|
;; No "include" output because there's no support for loadable modules.
|
|
|
|
(outputs (delete "include" (package-outputs bash)))
|
|
|
|
|
2013-01-01 10:54:45 -05:00
|
|
|
(arguments
|
2017-06-02 09:22:03 -04:00
|
|
|
(substitute-keyword-arguments (package-arguments bash)
|
|
|
|
((#:modules _ '())
|
|
|
|
'((guix build gnu-build-system)
|
|
|
|
(guix build utils)
|
|
|
|
(srfi srfi-1)
|
|
|
|
(srfi srfi-26)))
|
|
|
|
((#:configure-flags flags '())
|
|
|
|
`(list "--without-bash-malloc"
|
|
|
|
"--disable-readline"
|
|
|
|
"--disable-history"
|
|
|
|
"--disable-help-builtin"
|
|
|
|
"--disable-progcomp"
|
|
|
|
"--disable-net-redirections"
|
|
|
|
"--disable-nls"
|
|
|
|
|
|
|
|
;; Pretend 'dlopen' is missing so we don't build loadable
|
|
|
|
;; modules and related code.
|
|
|
|
"ac_cv_func_dlopen=no"
|
|
|
|
|
|
|
|
,@(if (%current-target-system)
|
|
|
|
'("bash_cv_job_control_missing=no"
|
|
|
|
"bash_cv_getcwd_malloc=yes")
|
|
|
|
'())))
|
|
|
|
((#:phases phases)
|
|
|
|
`(modify-phases ,phases
|
|
|
|
;; No loadable modules.
|
|
|
|
(delete 'move-development-files)))))))
|
2015-03-03 16:58:06 -05:00
|
|
|
|
2015-08-19 08:40:59 -04:00
|
|
|
(define-public static-bash
|
|
|
|
;; Statically-linked Bash that contains nothing but the 'bash' binary and
|
|
|
|
;; 'sh' symlink, without any reference.
|
2015-09-03 04:12:28 -04:00
|
|
|
(let ((bash (static-package bash-minimal)))
|
2015-08-19 08:40:59 -04:00
|
|
|
(package
|
|
|
|
(inherit bash)
|
|
|
|
(name "bash-static")
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments
|
|
|
|
`(#:allowed-references ("out") ,@(package-arguments bash))
|
|
|
|
((#:phases phases)
|
2023-02-28 11:06:22 -05:00
|
|
|
#~(modify-phases #$phases
|
|
|
|
(add-after 'strip 'remove-everything-but-the-binary
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(remove-store-references (string-append bin "/bash"))
|
|
|
|
(delete-file (string-append bin "/bashbug"))
|
|
|
|
(delete-file-recursively (string-append out "/share"))
|
|
|
|
#t))))))))))
|
2015-08-19 08:40:59 -04:00
|
|
|
|
2021-12-19 18:33:51 -05:00
|
|
|
(define-public bash-with-syslog
|
|
|
|
(package
|
|
|
|
(inherit bash)
|
|
|
|
(name "bash-with-syslog")
|
|
|
|
(arguments
|
|
|
|
(substitute-keyword-arguments (package-arguments bash)
|
|
|
|
((#:phases phases '%standard-phases)
|
|
|
|
`(modify-phases ,phases
|
|
|
|
(add-after 'unpack 'enable-syslogging
|
|
|
|
(lambda _
|
|
|
|
(substitute* "config-top.h"
|
|
|
|
(("/\\* #define SYSLOG_HISTORY \\*/")
|
|
|
|
"#define SYSLOG_HISTORY"))))))))
|
|
|
|
(description
|
|
|
|
"Bash is the shell, or command-line interpreter, of the GNU system. This
|
|
|
|
variant logs the history to syslog.")))
|
|
|
|
|
2015-03-03 16:58:06 -05:00
|
|
|
(define-public bash-completion
|
|
|
|
(package
|
|
|
|
(name "bash-completion")
|
2022-08-07 15:41:18 -04:00
|
|
|
(version "2.11")
|
2015-03-03 16:58:06 -05:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2016-08-07 06:02:27 -04:00
|
|
|
"https://github.com/scop/" name "/releases/download/"
|
|
|
|
version "/" name "-" version ".tar.xz"))
|
2015-03-03 16:58:06 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2022-08-07 15:41:18 -04:00
|
|
|
"1b0iz7da1sgifx1a5wdyx1kxbzys53v0kyk8nhxfipllmm5qka3k"))
|
2015-03-12 17:08:04 -04:00
|
|
|
(patches
|
2016-04-08 08:18:13 -04:00
|
|
|
(search-patches "bash-completion-directories.patch"))))
|
2015-03-03 16:58:06 -05:00
|
|
|
(build-system gnu-build-system)
|
2015-04-19 16:46:10 -04:00
|
|
|
(arguments
|
2022-08-07 15:49:26 -04:00
|
|
|
`(#:tests? #f)) ; Unclear how to make tests pass.
|
2015-03-03 16:58:06 -05:00
|
|
|
(synopsis "Bash completions for common commands")
|
|
|
|
(description
|
|
|
|
"This package provides extensions that allow Bash to provide adapted
|
|
|
|
completion for many common commands.")
|
2016-10-10 04:58:11 -04:00
|
|
|
(home-page "https://github.com/scop/bash-completion")
|
2020-10-23 11:43:05 -04:00
|
|
|
(license license:gpl2+)))
|
2016-05-07 13:12:42 -04:00
|
|
|
|
|
|
|
(define-public bash-tap
|
|
|
|
(package
|
|
|
|
(name "bash-tap")
|
|
|
|
(version "1.0.2")
|
2019-11-03 00:00:00 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/illusori/bash-tap")
|
2019-11-03 00:00:00 -04:00
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "13zz9h6bhhnk3hiwhlpafrnf2isws249h3fz785dcgymk02arz9c"))))
|
2016-05-07 13:12:42 -04:00
|
|
|
;; There is no compilation process to use this package, however, the bash
|
|
|
|
;; scripts installed by this package start with "#!/bin/bash". To fix
|
|
|
|
;; these lines, we use the patch-shebangs of the GNU build system. The
|
|
|
|
;; project does not use a Makefile.
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; There is no test suite.
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; Because there are no configure scripts or Makefile, we can
|
|
|
|
;; remove these phases.
|
|
|
|
(delete 'configure)
|
|
|
|
(delete 'build)
|
|
|
|
;; The installation involves manually copying the files to a location.
|
|
|
|
;; To make them easily accessible by setting PATH, we add the scripts
|
|
|
|
;; to the "bin" folder.
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
|
|
|
(install-file "bash-tap" bin)
|
|
|
|
(install-file "bash-tap-bootstrap" bin)
|
|
|
|
(install-file "bash-tap-mock" bin)))))))
|
2020-01-18 19:40:33 -05:00
|
|
|
(home-page "https://www.illusori.co.uk/projects/bash-tap/")
|
2016-05-07 13:12:42 -04:00
|
|
|
(synopsis "Bash port of a Test::More/Test::Builder-style TAP-compliant
|
|
|
|
test library")
|
|
|
|
(description "Bash TAP is a TAP-compliant Test::More-style testing library
|
|
|
|
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
|
|
|
|
capturing.")
|
2020-10-23 11:43:05 -04:00
|
|
|
(license license:expat)))
|
2020-06-07 13:58:27 -04:00
|
|
|
|
|
|
|
(define-public bats
|
|
|
|
(package
|
|
|
|
(name "bats")
|
|
|
|
(version "1.2.0")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 16:53:28 -04:00
|
|
|
(url "https://github.com/bats-core/bats-core")
|
2020-06-07 13:58:27 -04:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0f59zh4d4pa1a7ybs5zl6h0csbqqv11lbnq0jl1dgwm1s6p49bsq"))))
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list bash coreutils guile-3.0 ;for wrap-script
|
|
|
|
grep))
|
2020-06-07 13:58:27 -04:00
|
|
|
(arguments
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
#:builder
|
|
|
|
(begin
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
(copy-recursively (assoc-ref %build-inputs "source") ".")
|
|
|
|
(setenv "PATH"
|
|
|
|
(string-append (assoc-ref %build-inputs "bash") "/bin"
|
|
|
|
":" (assoc-ref %build-inputs "coreutils") "/bin"
|
|
|
|
":" (assoc-ref %build-inputs "grep") "/bin"
|
|
|
|
":" (assoc-ref %build-inputs "guile") "/bin"
|
|
|
|
":" (getenv "PATH")))
|
|
|
|
(for-each (lambda (file) (patch-shebang file)) (find-files "."))
|
|
|
|
(substitute* "bin/bats"
|
|
|
|
(("export BATS_ROOT" line)
|
|
|
|
(string-append "BATS_ROOT=\"${BATS_ROOT:-" %output "/libexec/bats-core}\"\n"
|
|
|
|
line)))
|
|
|
|
;; Install phase
|
|
|
|
(invoke "./install.sh" %output)
|
|
|
|
(wrap-script (string-append %output "/bin/bats")
|
2021-05-31 13:42:58 -04:00
|
|
|
#:guile (search-input-file %build-inputs "bin/guile")
|
2020-06-07 13:58:27 -04:00
|
|
|
(list "PATH" 'prefix (string-split (getenv "PATH")
|
|
|
|
#\:))))))
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
(home-page "https://github.com/bats-core/bats-core/")
|
|
|
|
(synopsis "Bash Automated Testing System")
|
2020-07-09 14:34:19 -04:00
|
|
|
(description
|
|
|
|
"Bats is a @acronym{TAP, Test Anything Protocol}-compliant testing
|
|
|
|
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
|
|
|
|
in Bash, but you can use it to test any UNIX program.")
|
2020-10-23 11:43:05 -04:00
|
|
|
(license license:expat)))
|
2020-10-23 08:47:04 -04:00
|
|
|
|
|
|
|
(define-public bash-ctypes
|
|
|
|
(package
|
|
|
|
(name "bash-ctypes")
|
|
|
|
(version "1.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/taviso/ctypes.sh/releases/download/v"
|
|
|
|
version "/ctypes-sh-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "0s1sifqzqmr0dnciv06yqrpzgj11d7n0gy5zaxh6b3x8bx7k75l8"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list elfutils
|
|
|
|
libelf
|
|
|
|
libffi
|
|
|
|
zlib
|
|
|
|
;; Require a bash with C plugin support to build.
|
|
|
|
bash))
|
2020-10-23 08:47:04 -04:00
|
|
|
(native-inputs
|
2021-12-13 11:18:24 -05:00
|
|
|
(list pkg-config))
|
2020-10-23 08:47:04 -04:00
|
|
|
(home-page "https://github.com/taviso/ctypes.sh")
|
|
|
|
(synopsis "Foreign function interface for Bash")
|
|
|
|
(description "Bash-ctypes is a Bash plugin that provides a foreign
|
|
|
|
function interface (FFI) directly in your shell. In other words, it allows
|
|
|
|
you to call routines in shared libraries from within Bash.")
|
2020-10-23 11:43:05 -04:00
|
|
|
(license license:expat)))
|
2022-09-13 23:07:08 -04:00
|
|
|
|
|
|
|
(define-public blesh
|
|
|
|
(package
|
|
|
|
(name "blesh")
|
2023-05-29 19:46:53 -04:00
|
|
|
(version "0.4.0-devel3")
|
2022-09-13 23:07:08 -04:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/akinomyoga/ble.sh")
|
2023-05-29 19:46:53 -04:00
|
|
|
(commit (string-append "v" version))
|
|
|
|
(recursive? #t)))
|
2022-09-13 23:07:08 -04:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2023-05-29 19:46:53 -04:00
|
|
|
"19y9rmj9srl7akx33gl34l5qgz2ww0vlmi4j2r11029p8sn4s418"))))
|
2022-09-13 23:07:08 -04:00
|
|
|
(arguments
|
|
|
|
(list #:make-flags #~(list (string-append "PREFIX="
|
|
|
|
#$output))
|
|
|
|
#:phases #~(modify-phases %standard-phases
|
2023-05-29 19:46:53 -04:00
|
|
|
(add-after 'unpack 'pretend-.git-exists
|
2022-09-13 23:07:08 -04:00
|
|
|
(lambda _
|
|
|
|
(substitute* "ble.pp"
|
2023-05-29 19:46:53 -04:00
|
|
|
(("#%\\[commit_hash =.*")
|
|
|
|
(string-append "#%[commit_hash = " #$version "]\n")))
|
|
|
|
(mkdir-p ".git")))
|
2022-09-13 23:07:08 -04:00
|
|
|
(delete 'configure) ;no configure
|
|
|
|
(add-before 'check 'use-LANG-for-tests
|
|
|
|
(lambda _
|
|
|
|
(setenv "LANG"
|
|
|
|
(getenv "LC_ALL"))
|
|
|
|
(unsetenv "LC_ALL"))))))
|
|
|
|
(build-system gnu-build-system)
|
2023-05-29 19:46:53 -04:00
|
|
|
(native-inputs (list git less))
|
2022-09-13 23:07:08 -04:00
|
|
|
(home-page "https://github.com/akinomyoga/ble.sh")
|
|
|
|
(synopsis "Bash Line Editor")
|
|
|
|
(description
|
|
|
|
"Bash Line Editor (ble.sh) is a command line editor written in pure Bash
|
|
|
|
which replaces the default GNU Readline. It adds syntax highlighting, auto
|
|
|
|
suggestions, vim modes, and more to Bash interactive sessions.")
|
|
|
|
(license license:bsd-3)))
|