diff options
| author | Anderson Torres <anderson.torres.8519@gmail.com> | 2026-07-16 22:52:47 -0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-09-01 18:13:12 +0300 |
| commit | 4510e8699240a0768958035dd50975f5aa06d96c (patch) | |
| tree | 44b0551c823912f5d8976f506476d39085e60a50 /gnu | |
| parent | 9b93060c2e3a3859691c1fb8877b22224e6df348 (diff) | |
gnu: Add quickenv.
* gnu/packages/shellutils.scm (quickenv): New variable.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): Add entry for
quickenv.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/rust-crates.scm | 95 | ||||
| -rw-r--r-- | gnu/packages/shellutils.scm | 42 |
2 files changed, 137 insertions, 0 deletions
diff --git a/gnu/packages/rust-crates.scm b/gnu/packages/rust-crates.scm index 6ed131139a2..2a77a2365f2 100644 --- a/gnu/packages/rust-crates.scm +++ b/gnu/packages/rust-crates.scm | |||
| @@ -2897,6 +2897,10 @@ | |||
| 2897 | (crate-source "blake3" "1.8.5" | 2897 | (crate-source "blake3" "1.8.5" |
| 2898 | "1khz6wq61fnr0gl1kmy4bxadc7gbcv4gbq05z4jdjhr8wqs3ra0a")) | 2898 | "1khz6wq61fnr0gl1kmy4bxadc7gbcv4gbq05z4jdjhr8wqs3ra0a")) |
| 2899 | 2899 | ||
| 2900 | (define rust-blake3-1.8.7 | ||
| 2901 | (crate-source "blake3" "1.8.7" | ||
| 2902 | "1bi7m95sggkkcmlyiykflbb37v84cgzkm283r1yrfxhzq57lb7kd")) | ||
| 2903 | |||
| 2900 | (define rust-blakeout-0.3.0 | 2904 | (define rust-blakeout-0.3.0 |
| 2901 | (crate-source "blakeout" "0.3.0" | 2905 | (crate-source "blakeout" "0.3.0" |
| 2902 | "0dxcg3sjxd82mn7mq4ammrfpidqf9zsagvhfzgblsi8g4b2fgvw1")) | 2906 | "0dxcg3sjxd82mn7mq4ammrfpidqf9zsagvhfzgblsi8g4b2fgvw1")) |
| @@ -16432,6 +16436,10 @@ fn main() { | |||
| 16432 | (crate-source "insta" "1.47.2" | 16436 | (crate-source "insta" "1.47.2" |
| 16433 | "0kh9gspras3vhvx8wkygnw2wzlwjln7gwzgks8g4194kxd464jkv")) | 16437 | "0kh9gspras3vhvx8wkygnw2wzlwjln7gwzgks8g4194kxd464jkv")) |
| 16434 | 16438 | ||
| 16439 | (define rust-insta-1.48.0 | ||
| 16440 | (crate-source "insta" "1.48.0" | ||
| 16441 | "10kbxza7vzj4nvkga8r3rfn6z8i3hnh47bnnb1f429n9x3zgiw46")) | ||
| 16442 | |||
| 16435 | (define rust-insta-cmd-0.6.0 | 16443 | (define rust-insta-cmd-0.6.0 |
| 16436 | (crate-source "insta-cmd" "0.6.0" | 16444 | (crate-source "insta-cmd" "0.6.0" |
| 16437 | "1rix5nmswns1p5p5f7pj5l9wvm69awzby0fbkkacwp4j4ylyzvpz")) | 16445 | "1rix5nmswns1p5p5f7pj5l9wvm69awzby0fbkkacwp4j4ylyzvpz")) |
| @@ -82323,6 +82331,93 @@ fn main() { | |||
| 82323 | rust-version-compare-0.2.0 | 82331 | rust-version-compare-0.2.0 |
| 82324 | rust-version-check-0.9.4 | 82332 | rust-version-check-0.9.4 |
| 82325 | rust-winnow-0.7.13)) | 82333 | rust-winnow-0.7.13)) |
| 82334 | (quickenv => | ||
| 82335 | (list rust-adler2-2.0.1 | ||
| 82336 | rust-aho-corasick-1.1.5 | ||
| 82337 | rust-ansi-width-0.1.0 | ||
| 82338 | rust-anstyle-1.0.14 | ||
| 82339 | rust-anyhow-1.0.104 | ||
| 82340 | rust-arrayvec-0.7.8 | ||
| 82341 | rust-base64-0.22.1 | ||
| 82342 | rust-bitflags-2.13.1 | ||
| 82343 | rust-blake3-1.8.7 | ||
| 82344 | rust-block2-0.6.2 | ||
| 82345 | rust-cc-1.4.4 | ||
| 82346 | rust-cfg-if-1.0.4 | ||
| 82347 | rust-cfg-aliases-0.2.2 | ||
| 82348 | rust-clap-4.6.6 | ||
| 82349 | rust-clap-builder-4.6.6 | ||
| 82350 | rust-clap-derive-4.6.4 | ||
| 82351 | rust-clap-lex-1.1.0 | ||
| 82352 | rust-console-0.16.4 | ||
| 82353 | rust-constant-time-eq-0.4.2 | ||
| 82354 | rust-cpufeatures-0.3.1 | ||
| 82355 | rust-crc32fast-1.5.1 | ||
| 82356 | rust-ctrlc-3.5.2 | ||
| 82357 | rust-dialoguer-0.12.0 | ||
| 82358 | rust-dispatch2-0.3.1 | ||
| 82359 | rust-either-1.18.0 | ||
| 82360 | rust-encode-unicode-1.0.0 | ||
| 82361 | rust-env-filter-2.0.0 | ||
| 82362 | rust-env-home-0.1.0 | ||
| 82363 | rust-env-logger-0.11.11 | ||
| 82364 | rust-errno-0.2.8 | ||
| 82365 | rust-errno-0.3.14 | ||
| 82366 | rust-errno-dragonfly-0.1.2 | ||
| 82367 | rust-exec-0.3.1 | ||
| 82368 | rust-fastrand-2.5.0 | ||
| 82369 | rust-find-msvc-tools-0.1.11 | ||
| 82370 | rust-flate2-1.1.10 | ||
| 82371 | rust-getrandom-0.4.3 | ||
| 82372 | rust-heck-0.5.0 | ||
| 82373 | rust-hex-0.4.3 | ||
| 82374 | rust-insta-1.48.0 | ||
| 82375 | rust-insta-cmd-0.6.0 | ||
| 82376 | rust-itoa-1.0.18 | ||
| 82377 | rust-libc-0.2.189 | ||
| 82378 | rust-linux-raw-sys-0.12.1 | ||
| 82379 | rust-log-0.4.34 | ||
| 82380 | rust-maplit-1.0.2 | ||
| 82381 | rust-memchr-2.8.3 | ||
| 82382 | rust-miniz-oxide-0.9.1 | ||
| 82383 | rust-nix-0.31.3 | ||
| 82384 | rust-objc2-0.6.4 | ||
| 82385 | rust-objc2-encode-4.1.0 | ||
| 82386 | rust-once-cell-1.21.4 | ||
| 82387 | rust-proc-macro2-1.0.107 | ||
| 82388 | rust-quote-1.0.47 | ||
| 82389 | rust-r-efi-6.0.0 | ||
| 82390 | rust-regex-1.13.1 | ||
| 82391 | rust-regex-automata-0.4.18 | ||
| 82392 | rust-regex-syntax-0.8.11 | ||
| 82393 | rust-rustix-1.1.4 | ||
| 82394 | rust-serde-1.0.229 | ||
| 82395 | rust-serde-core-1.0.229 | ||
| 82396 | rust-serde-derive-1.0.229 | ||
| 82397 | rust-serde-json-1.0.151 | ||
| 82398 | rust-shell-words-1.1.1 | ||
| 82399 | rust-shlex-2.0.1 | ||
| 82400 | rust-simd-adler32-0.3.10 | ||
| 82401 | rust-similar-2.7.0 | ||
| 82402 | rust-strip-ansi-escapes-0.2.1 | ||
| 82403 | rust-syn-3.0.4 | ||
| 82404 | rust-tempfile-3.27.0 | ||
| 82405 | rust-thiserror-2.0.20 | ||
| 82406 | rust-thiserror-impl-2.0.20 | ||
| 82407 | rust-unicode-ident-1.0.24 | ||
| 82408 | rust-unicode-width-0.1.14 | ||
| 82409 | rust-unicode-width-0.2.2 | ||
| 82410 | rust-uutils-term-grid-0.7.0 | ||
| 82411 | rust-vte-0.14.1 | ||
| 82412 | rust-which-7.0.3 | ||
| 82413 | rust-winapi-0.3.9 | ||
| 82414 | rust-winapi-i686-pc-windows-gnu-0.4.0 | ||
| 82415 | rust-winapi-x86-64-pc-windows-gnu-0.4.0 | ||
| 82416 | rust-windows-link-0.2.1 | ||
| 82417 | rust-windows-sys-0.61.2 | ||
| 82418 | rust-winsafe-0.0.19 | ||
| 82419 | rust-zlib-rs-0.6.7 | ||
| 82420 | rust-zmij-1.0.23)) | ||
| 82326 | (r-pizzarr => | 82421 | (r-pizzarr => |
| 82327 | (list rust-adler2-2.0.1 | 82422 | (list rust-adler2-2.0.1 |
| 82328 | rust-ahash-0.8.12 | 82423 | rust-ahash-0.8.12 |
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index bb9ed0c88b1..8c6ef0f9b18 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm | |||
| @@ -945,6 +945,48 @@ collection of functions such as basename, replace, contains or is_dir are | |||
| 945 | provided as arguments to these commands.") | 945 | provided as arguments to these commands.") |
| 946 | (license license:expat)))) | 946 | (license license:expat)))) |
| 947 | 947 | ||
| 948 | (define-public quickenv | ||
| 949 | (package | ||
| 950 | (name "quickenv") | ||
| 951 | (version "0.5.0") | ||
| 952 | (source | ||
| 953 | (origin | ||
| 954 | (method git-fetch) | ||
| 955 | (uri (git-reference | ||
| 956 | (url "https://codeberg.org/untitaker/quickenv") | ||
| 957 | (commit version))) | ||
| 958 | (file-name (git-file-name name version)) | ||
| 959 | (sha256 | ||
| 960 | (base32 "0if082pgy48dm90v5sj6axh684d5rms40rz8nhzqz9sqwwwn9h3k")))) | ||
| 961 | (build-system cargo-build-system) | ||
| 962 | (arguments | ||
| 963 | (list | ||
| 964 | #:install-source? #f | ||
| 965 | #:phases | ||
| 966 | #~(modify-phases %standard-phases | ||
| 967 | (add-after 'unpack 'patch-/bin/sh | ||
| 968 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 969 | ;; A lot of tests hardcode /bin/sh inside strings! | ||
| 970 | (substitute* "tests/acceptance.rs" | ||
| 971 | (("/bin/sh|/bin/bash") | ||
| 972 | (search-input-file inputs "bin/bash")))))))) | ||
| 973 | (inputs (cargo-inputs 'quickenv)) | ||
| 974 | (native-inputs | ||
| 975 | ;; direnv is required for many tests. | ||
| 976 | (list direnv)) | ||
| 977 | (home-page "https://codeberg.org/untitaker/quickenv") | ||
| 978 | (synopsis "Unintrusive environment manager") | ||
| 979 | (description | ||
| 980 | "@code{quickenv} is an unintrusive environment manager, a drop-in | ||
| 981 | replacement for @code{direnv} with a different design: | ||
| 982 | |||
| 983 | @itemize | ||
| 984 | @item @code{quickenv} does not hook into the shell. | ||
| 985 | @item @code{quickenv} does not load environment variables into the shell. | ||
| 986 | @item @code{quickenv} does not load @file{.envrc} when changing directories. | ||
| 987 | @end itemize") | ||
| 988 | (license license:expat))) | ||
| 989 | |||
| 948 | (define-public rig | 990 | (define-public rig |
| 949 | (package | 991 | (package |
| 950 | (name "rig") | 992 | (name "rig") |
