diff options
| author | Yan Abu Arab <yanabuarab@gmail.com> | 2025-12-20 02:39:54 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-23 18:16:06 +0200 |
| commit | 0482320d2459e7f46c4f94ba8436c70e7e1a0079 (patch) | |
| tree | 3fce00854b8a520de46242f2721d8b1a176f7b11 /gnu/packages/bash.scm | |
| parent | a8ed3226173185bd0cc1fbaa894e6298b8fff481 (diff) | |
gnu: Add bashly.
* gnu/packages/bash.scm (bashly): New variable.
Change-Id: I242872ae6e958865fed7d4f63c590b3908ff61a0
Signed-off-by: Steve George <steve@futurile.net>
Diffstat (limited to 'gnu/packages/bash.scm')
| -rw-r--r-- | gnu/packages/bash.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index bb15f1c4125..b0f23e516c6 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm | |||
| @@ -38,6 +38,8 @@ | |||
| 38 | #:use-module (gnu packages elf) | 38 | #:use-module (gnu packages elf) |
| 39 | #:use-module (gnu packages ncurses) | 39 | #:use-module (gnu packages ncurses) |
| 40 | #:use-module (gnu packages readline) | 40 | #:use-module (gnu packages readline) |
| 41 | #:use-module (gnu packages ruby-check) | ||
| 42 | #:use-module (gnu packages ruby-xyz) | ||
| 41 | #:use-module (gnu packages bison) | 43 | #:use-module (gnu packages bison) |
| 42 | #:use-module (gnu packages linux) | 44 | #:use-module (gnu packages linux) |
| 43 | #:use-module (gnu packages libffi) | 45 | #:use-module (gnu packages libffi) |
| @@ -54,6 +56,7 @@ | |||
| 54 | #:use-module (guix store) | 56 | #:use-module (guix store) |
| 55 | #:use-module (guix build-system copy) | 57 | #:use-module (guix build-system copy) |
| 56 | #:use-module (guix build-system gnu) | 58 | #:use-module (guix build-system gnu) |
| 59 | #:use-module (guix build-system ruby) | ||
| 57 | #:use-module (guix build-system trivial) | 60 | #:use-module (guix build-system trivial) |
| 58 | #:autoload (guix gnupg) (gnupg-verify*) | 61 | #:autoload (guix gnupg) (gnupg-verify*) |
| 59 | #:autoload (guix base32) (bytevector->nix-base32-string) | 62 | #:autoload (guix base32) (bytevector->nix-base32-string) |
| @@ -526,6 +529,46 @@ function interface (FFI) directly in your shell. In other words, it allows | |||
| 526 | you to call routines in shared libraries from within Bash.") | 529 | you to call routines in shared libraries from within Bash.") |
| 527 | (license license:expat)))) | 530 | (license license:expat)))) |
| 528 | 531 | ||
| 532 | (define-public bashly | ||
| 533 | (package | ||
| 534 | (name "bashly") | ||
| 535 | (version "1.3.5") | ||
| 536 | (source | ||
| 537 | (origin | ||
| 538 | (method url-fetch) | ||
| 539 | (uri (rubygems-uri "bashly" version)) | ||
| 540 | (sha256 | ||
| 541 | (base32 "17msjzca5ifx8biimdjps655w51yc82d5ys9hwn749bi2f3n8mcz")))) | ||
| 542 | (build-system ruby-build-system) | ||
| 543 | (arguments | ||
| 544 | (list | ||
| 545 | #:phases | ||
| 546 | #~(modify-phases %standard-phases | ||
| 547 | (replace 'check | ||
| 548 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 549 | (when tests? | ||
| 550 | (invoke "rspec" "-c" "spec"))))))) | ||
| 551 | (native-inputs (list ruby-rspec)) | ||
| 552 | (propagated-inputs (list ruby-colsole | ||
| 553 | ruby-completely | ||
| 554 | ruby-filewatcher | ||
| 555 | ruby-gtx | ||
| 556 | ruby-logger | ||
| 557 | ruby-lp | ||
| 558 | ruby-mister-bin | ||
| 559 | ruby-ostruct | ||
| 560 | ruby-requires | ||
| 561 | ruby-tty-markdown)) | ||
| 562 | (synopsis | ||
| 563 | "Create feature-rich Bash scrips using simple YAML configuration") | ||
| 564 | (description | ||
| 565 | "Bashly is a CLI for generating feature-rich Bash command line | ||
| 566 | tools. Bashly lets you focus on your specific code, without worrying about | ||
| 567 | command line argument parsing, usage texts, error messages and other functions | ||
| 568 | that are usually handled by a framework in other programming languages.") | ||
| 569 | (home-page "https://bashly.dev/") | ||
| 570 | (license license:expat))) | ||
| 571 | |||
| 529 | (define-public blesh | 572 | (define-public blesh |
| 530 | (package | 573 | (package |
| 531 | (name "blesh") | 574 | (name "blesh") |
