diff options
| author | Anderson Torres <anderson.torres.8519@gmail.com> | 2026-07-15 19:31:35 -0300 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-07-18 20:09:30 +0200 |
| commit | cf52e60dc62f3266fea9f3b0645b3e082f94d9e7 (patch) | |
| tree | 21cac68862527a83a60d4eef21384952944765fb /gnu/packages/shellutils.scm | |
| parent | 1b06627b0aaefd4e05cbf5d15c24227894105276 (diff) | |
gnu: shadowenv: New package.
* gnu/packages/shellutils.scm (shadowenv): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs) [shadowenv]: New entry.
* gnu/packages/rust-crates.scm (rust-bitflags-2.13.0,
rust-blake2b-simd-0.5.11,
rust-cc-1.2.67,
rust-clap-4.6.2,
rust-clap-builder-4.6.2,
rust-dirs-1.0.5,
rust-dirs-2.0.2,
rust-env-filter-2.0.0,
rust-env-logger-0.11.11,
rust-gumdrop-0.7.0,
rust-gumdrop-derive-0.7.0,
rust-ketos-0.12.0,
rust-ketos-derive-0.12.0,
rust-linefeed-0.6.0,
rust-mortal-0.2.4,
rust-num-iter-0.1.46,
rust-rand-0.8.7,
rust-redox-users-0.3.5,
rust-regex-1.13.1,
rust-regex-automata-0.4.16,
rust-rust-argon2-0.8.3,
rust-smallstr-0.2.0,
rust-syn-2.0.119,
rust-terminfo-0.8.0,
rust-tinyvec-1.12.0,
rust-zerocopy-0.8.54,
rust-zerocopy-derive-0.8.54,
rust-zmij-1.0.23): New variables.
Change-Id: Id9a461be4461df5a2604f170e52bef2a24d97126
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/shellutils.scm')
| -rw-r--r-- | gnu/packages/shellutils.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index cd0b8484fd3..bb9ed0c88b1 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm | |||
| @@ -440,6 +440,52 @@ all of the regexes given on the command line in order.") | |||
| 440 | (home-page "https://github.com/rupa/z") | 440 | (home-page "https://github.com/rupa/z") |
| 441 | (license license:expat))) | 441 | (license license:expat))) |
| 442 | 442 | ||
| 443 | (define-public shadowenv | ||
| 444 | (package | ||
| 445 | (name "shadowenv") | ||
| 446 | (version "3.5.1") | ||
| 447 | (source | ||
| 448 | (origin | ||
| 449 | (method git-fetch) | ||
| 450 | (uri (git-reference | ||
| 451 | (url "https://github.com/Shopify/shadowenv") | ||
| 452 | (commit version))) | ||
| 453 | (file-name (git-file-name name version)) | ||
| 454 | (sha256 | ||
| 455 | (base32 "1lyf1anvr7kkvchxh80dk974pamcc5v2vh1j2024s5x39yvhxfyl")))) | ||
| 456 | (build-system cargo-build-system) | ||
| 457 | (arguments | ||
| 458 | (list | ||
| 459 | #:install-source? #f | ||
| 460 | #:imported-modules | ||
| 461 | (append %cargo-build-system-modules | ||
| 462 | %copy-build-system-modules) | ||
| 463 | #:modules | ||
| 464 | '((guix build cargo-build-system) | ||
| 465 | ((guix build copy-build-system) #:prefix copy:) | ||
| 466 | (guix build utils)) | ||
| 467 | #:phases | ||
| 468 | #~(modify-phases %standard-phases | ||
| 469 | (add-before 'check 'set-home | ||
| 470 | ;; Tests require a writable HOME. | ||
| 471 | (lambda _ | ||
| 472 | (setenv "HOME" "/tmp"))) | ||
| 473 | (add-after 'install 'install-manpages | ||
| 474 | (lambda args | ||
| 475 | (apply (assoc-ref copy:%standard-phases 'install) | ||
| 476 | #:install-plan | ||
| 477 | '(("man" "share/")) | ||
| 478 | args)))))) | ||
| 479 | (inputs (cargo-inputs 'shadowenv)) | ||
| 480 | (home-page "https://shopify.github.io/shadowenv/") | ||
| 481 | (synopsis "Reversible directory-local environment variable manipulations") | ||
| 482 | (description | ||
| 483 | "Shadowenv is a project-local environment variable manager. It | ||
| 484 | manipulates the environment by scanning @file{.shadowenv.d/} directories and | ||
| 485 | loading any @file{*.lisp} files written in Shadowlisp, a domain-specific | ||
| 486 | LISP-1 dialect.") | ||
| 487 | (license license:expat))) | ||
| 488 | |||
| 443 | (define-public shfmt | 489 | (define-public shfmt |
| 444 | (package | 490 | (package |
| 445 | (name "shfmt") | 491 | (name "shfmt") |
