summaryrefslogtreecommitdiff
path: root/gnu/packages/bash.scm
diff options
context:
space:
mode:
authorkiasoc5 <kiasoc5@disroot.org>2023-05-29 19:46:53 -0400
committerLudovic Courtès <ludo@gnu.org>2023-06-24 17:08:16 +0200
commitd3f5c35e407d6a3b83b9bb326a5d370280535308 (patch)
tree75e7496f834ca6fdf1aca535fc62c42dd3987762 /gnu/packages/bash.scm
parent748665f49a828a953f95120fdb93a3762d0e66d7 (diff)
gnu: blesh: Update to 0.4.0-devel3.
* gnu/packages/bash.scm (blesh): Update to 0.4.0-devel3. [source]: Use recursive checkout. [phases]: Remove 'make-readlink-work. Rename 'pretend-contrib-.git-exists to 'pretend-.git-exists. Substitute commit_hash for package version. [native-inputs]: Add git. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/bash.scm')
-rw-r--r--gnu/packages/bash.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index 43f38303f7d..bb3359d5d1c 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -445,28 +445,27 @@ you to call routines in shared libraries from within Bash.")
445(define-public blesh 445(define-public blesh
446 (package 446 (package
447 (name "blesh") 447 (name "blesh")
448 (version "0.4.0-devel2") 448 (version "0.4.0-devel3")
449 (source (origin 449 (source (origin
450 (method git-fetch) 450 (method git-fetch)
451 (uri (git-reference 451 (uri (git-reference
452 (url "https://github.com/akinomyoga/ble.sh") 452 (url "https://github.com/akinomyoga/ble.sh")
453 (commit (string-append "v" version)))) 453 (commit (string-append "v" version))
454 (recursive? #t)))
454 (file-name (git-file-name name version)) 455 (file-name (git-file-name name version))
455 (sha256 456 (sha256
456 (base32 457 (base32
457 "02fdjyh4x6wr5hg3i86nsxhz8ysgjrvvxdmk6pqr0lm8ngw9p3sh")))) 458 "19y9rmj9srl7akx33gl34l5qgz2ww0vlmi4j2r11029p8sn4s418"))))
458 (arguments 459 (arguments
459 (list #:make-flags #~(list (string-append "PREFIX=" 460 (list #:make-flags #~(list (string-append "PREFIX="
460 #$output)) 461 #$output))
461 #:phases #~(modify-phases %standard-phases 462 #:phases #~(modify-phases %standard-phases
462 (add-after 'unpack 'pretend-contrib-.git-exists 463 (add-after 'unpack 'pretend-.git-exists
463 (lambda _
464 (mkdir-p "contrib/.git")))
465 (add-after 'unpack 'make-readlink-work
466 (lambda _ 464 (lambda _
467 (substitute* "ble.pp" 465 (substitute* "ble.pp"
468 (("PATH=/bin:/usr/bin readlink") 466 (("#%\\[commit_hash =.*")
469 "readlink")))) 467 (string-append "#%[commit_hash = " #$version "]\n")))
468 (mkdir-p ".git")))
470 (delete 'configure) ;no configure 469 (delete 'configure) ;no configure
471 (add-before 'check 'use-LANG-for-tests 470 (add-before 'check 'use-LANG-for-tests
472 (lambda _ 471 (lambda _
@@ -474,7 +473,7 @@ you to call routines in shared libraries from within Bash.")
474 (getenv "LC_ALL")) 473 (getenv "LC_ALL"))
475 (unsetenv "LC_ALL")))))) 474 (unsetenv "LC_ALL"))))))
476 (build-system gnu-build-system) 475 (build-system gnu-build-system)
477 (native-inputs (list less)) 476 (native-inputs (list git less))
478 (home-page "https://github.com/akinomyoga/ble.sh") 477 (home-page "https://github.com/akinomyoga/ble.sh")
479 (synopsis "Bash Line Editor") 478 (synopsis "Bash Line Editor")
480 (description 479 (description