From eed2c4843fba8ae6276af405c6d1e07b5035efc2 Mon Sep 17 00:00:00 2001 From: Ryan Prior Date: Tue, 27 Apr 2021 05:21:28 +0000 Subject: gnu: oil: Update to 0.8.10. * gnu/packages/shells.scm (oil): Update to 0.8.10. Signed-off-by: Efraim Flashner --- gnu/packages/shells.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/shells.scm') diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index f2356dbdb4..e9e9a845fe 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -825,14 +825,14 @@ Shell (pdksh).") (define-public oil (package (name "oil") - (version "0.8.9") + (version "0.8.10") (source (origin (method url-fetch) (uri (string-append "https://www.oilshell.org/download/oil-" version ".tar.gz")) (sha256 - (base32 "080lsx7hyjhny3jzscwr152vr0g9s3c2iqg3vrpgsbk8vv7vw5l7")))) + (base32 "03ixqspizvgj869b524c33pg9c6h64g04r4pjkxfp1fxvgca70db")))) (build-system gnu-build-system) (arguments `(#:strip-binaries? #f ; strip breaks the binary -- cgit v1.2.3 From efe8dc71feddfaf1917f64fb6778fca79475f251 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 5 May 2021 20:36:34 +0200 Subject: gnu: loksh: Update to 6.9. * gnu/packages/shells.scm (loksh): Update to 6.9. [source]: Check out recursively. [build-systems]: Switch to Meson. [inputs]: Remove libbsd. [arguments]: Remove the old build system's #:make-flags and #:phases customisation. --- gnu/packages/shells.scm | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'gnu/packages/shells.scm') diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index e9e9a845fe..cc260d4820 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -65,6 +65,7 @@ #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix download) @@ -750,30 +751,26 @@ The OpenBSD Korn Shell is a cleaned up and enhanced ksh.") (define-public loksh (package (name "loksh") - (version "6.6") + (version "6.9") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/dimkr/loksh") - (commit version))) + (commit version) + ;; Include the ‘lolibc’ submodule, a static compatibility library + ;; created for and currently used only by loksh. + (recursive? #t))) (file-name (git-file-name name version)) (sha256 - (base32 "1a8s64n97ikvvi7ckirxnnjvcmhr3dd4rnqm2ivapyzb0wp42jk7")))) - (build-system gnu-build-system) + (base32 "0x33plxqhh5202hgqidgccz5hpg8d2q71ylgnm437g60mfi9z0px")))) + (build-system meson-build-system) (inputs - `(("libbsd" ,libbsd) - ("ncurses" ,ncurses))) + `(("ncurses" ,ncurses))) (native-inputs `(("pkg-config" ,pkg-config))) (arguments - `(#:tests? #f ; no tests included - #:make-flags (list "CC=gcc" "HAVE_LIBBSD=1" - (string-append "PREFIX=" - (assoc-ref %outputs "out"))) - #:phases - (modify-phases %standard-phases - (delete 'configure)))) ; no configure script + `(#:tests? #f)) ; no tests included (home-page "https://github.com/dimkr/loksh") (synopsis "Korn Shell from OpenBSD") (description -- cgit v1.2.3 From 2d51775c2cf3ffb993224010d6a77150ae1951f8 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 6 May 2021 21:48:21 +0200 Subject: gnu: fish: Update to 3.2.2. * gnu/packages/shells.scm (fish): Update to 3.2.2. [source]: Adjust to PCRE subdirectory move. [native-inputs]: Add procps. [arguments]: Adjust 'patch-tests phase to new failures. --- gnu/packages/shells.scm | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'gnu/packages/shells.scm') diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index cc260d4820..d21a7a6943 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -112,19 +112,20 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") (define-public fish (package (name "fish") - (version "3.1.2") + (version "3.2.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/fish-shell/fish-shell/" "releases/download/" version "/" - "fish-" version ".tar.gz")) + "fish-" version ".tar.xz")) (sha256 - (base32 "1vblmb3x2k2cb0db5jdyflppnlqsm7i6jjaidyhmvaaw7ch2gffm")) + (base32 "02a0dgz5cy4iv3ysvl5kzzd4ji8pxqv93zd45041plcki0ddli2r")) (modules '((guix build utils))) (snippet '(begin - (delete-file-recursively "pcre2-10.32") #t)))) + ;; Remove bundled software. + (delete-file-recursively "pcre2"))))) (build-system cmake-build-system) (inputs `(("fish-foreign-env" ,fish-foreign-env) @@ -133,8 +134,8 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") ("python" ,python))) ; for fish_config and manpage completions (native-inputs `(("doxygen" ,doxygen) - ; for 'fish --help' - ("groff" ,groff))) + ("groff" ,groff) ; for 'fish --help' + ("procps" ,procps))) ; for the test suite (arguments '(#:phases (modify-phases %standard-phases @@ -147,12 +148,15 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") (lambda* (#:key inputs #:allow-other-keys) (let ((coreutils (assoc-ref inputs "coreutils")) (bash (assoc-ref inputs "bash"))) - ;; This test fails + ;; This test fails. (delete-file "tests/checks/pipeline-pgroup.fish") - ;; These try to open a terminal - (delete-file "tests/checks/interactive.fish") - (delete-file "tests/checks/login-interactive.fish") - ;; These contain absolute path references + ;; This one tries to open a terminal & can't simply be deleted. + (substitute* "cmake/Tests.cmake" + ((".* interactive\\.fish.*") "")) + ;; This one needs to chdir successfully. + (substitute* "tests/checks/vars_as_commands.fish" + (("/usr/bin") "/tmp")) + ;; These contain absolute path references. (substitute* "src/fish_tests.cpp" (("/bin/echo" echo) (string-append coreutils echo)) (("/bin/ca" ca) (string-append coreutils ca)) @@ -165,7 +169,10 @@ direct descendant of NetBSD's Almquist Shell (@command{ash}).") (((string-append "do_test\\(is_potential_path\\(" "L\"/usr\", wds, vars, PATH_REQUIRE_DIR\\)\\);")) - "")) + "") + ;; Not all mentions of /usr... need to exist, but these do. + (("\"/usr(|/lib)\"" _ subdirectory) + (string-append "\"/tmp" subdirectory "\""))) (substitute* (append (find-files "tests" ".*\\.(in|out|err)$") (find-files "tests/checks" ".*\\.fish")) -- cgit v1.2.3