diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-05-24 09:25:10 +0300 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-05-24 11:55:43 +0300 |
| commit | f288e61bba13f921822cc76a48d36795771f9201 (patch) | |
| tree | 3805997af4e12548ea24b445a3e8d6dc5e3b2dc0 /gnu/packages/rust-apps.scm | |
| parent | 9746105c3cb29b92c0b80d9bd5007712e39c08ce (diff) | |
gnu: kibi: Update to 0.3.3.
* gnu/packages/rust-apps.scm (kibi): Update to 0.3.3.
[arguments]: Remove cargo-test-flags. Update the 'install-extras phase.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[kibi]: Update
dependencies.
Change-Id: I6ce9daf622781576d4f835218bf0bd7853b0e9c3
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 75656aacba3..d5357652a61 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm | |||
| @@ -2302,7 +2302,7 @@ Unicode.") | |||
| 2302 | (define-public kibi | 2302 | (define-public kibi |
| 2303 | (package | 2303 | (package |
| 2304 | (name "kibi") | 2304 | (name "kibi") |
| 2305 | (version "0.2.2") | 2305 | (version "0.3.3") |
| 2306 | (source | 2306 | (source |
| 2307 | (origin | 2307 | (origin |
| 2308 | ;; crates.io doesn't have the config files | 2308 | ;; crates.io doesn't have the config files |
| @@ -2312,24 +2312,32 @@ Unicode.") | |||
| 2312 | (commit (string-append "v" version)))) | 2312 | (commit (string-append "v" version)))) |
| 2313 | (file-name (git-file-name name version)) | 2313 | (file-name (git-file-name name version)) |
| 2314 | (sha256 | 2314 | (sha256 |
| 2315 | (base32 "1s9ka3pfhpssms2y5707f33n59ljnqqwp7jarh2l55a9dhlnl7d3")))) | 2315 | (base32 "1ryk9vz0hdqcka8n90qnhh430rj2z4s7kh71bkc5lpdx5lassq5q")) |
| 2316 | (snippet | ||
| 2317 | #~(begin (use-modules (guix build utils)) | ||
| 2318 | ;; Use a packaged version of tokei. | ||
| 2319 | (substitute* "xtask/Cargo.toml" | ||
| 2320 | (("git = .*tokei\", branch.*,") "version = \"*\",")))))) | ||
| 2316 | (build-system cargo-build-system) | 2321 | (build-system cargo-build-system) |
| 2317 | (arguments | 2322 | (arguments |
| 2318 | (list | 2323 | (list |
| 2319 | #:install-source? #f | 2324 | #:install-source? #f |
| 2320 | #:cargo-test-flags `(list "--release" "--" | 2325 | #:imported-modules (append %copy-build-system-modules |
| 2321 | "--skip=syntax::tests::syntax_d_files") | 2326 | %cargo-build-system-modules) |
| 2322 | #:phases #~(modify-phases %standard-phases | 2327 | #:modules '((guix build cargo-build-system) |
| 2323 | (add-after 'install 'install-extras | 2328 | ((guix build copy-build-system) #:prefix copy:) |
| 2324 | (lambda* (#:key outputs #:allow-other-keys) | 2329 | (guix build utils)) |
| 2325 | (let* ((out (assoc-ref outputs "out")) | 2330 | #:phases |
| 2326 | (share (string-append out "/share")) | 2331 | #~(modify-phases %standard-phases |
| 2327 | (syntax.d (string-append share "/syntax.d")) | 2332 | (add-after 'install 'install-extras |
| 2328 | (etc (string-append out "/etc"))) | 2333 | (lambda args |
| 2329 | (mkdir-p syntax.d) | 2334 | (apply (assoc-ref copy:%standard-phases 'install) |
| 2330 | (copy-recursively "syntax.d" syntax.d) | 2335 | #:install-plan |
| 2331 | (rename-file "config_example.ini" "config.ini") | 2336 | '(("config_example.ini" "etc/kibi/config.ini") |
| 2332 | (install-file "config.ini" etc))))))) | 2337 | ("syntax.d" "share/kibi/") |
| 2338 | ("kibi.desktop" "share/applications/") | ||
| 2339 | ("assets/kibi.svg" "share/icons/hicolor/scalable/apps/")) | ||
| 2340 | args)))))) | ||
| 2333 | (inputs (cargo-inputs 'kibi)) | 2341 | (inputs (cargo-inputs 'kibi)) |
| 2334 | (home-page "https://github.com/ilai-deutel/kibi") | 2342 | (home-page "https://github.com/ilai-deutel/kibi") |
| 2335 | (synopsis "Featureful text editor in less than 1024 lines of code") | 2343 | (synopsis "Featureful text editor in less than 1024 lines of code") |
