gnu: codeberg-cli: Update to 0.4.9.

* gnu/packages/rust-apps.scm (codeberg-cli): Update to 0.4.9.
[source]: Add snippet to allow building with our packaged rust.

Change-Id: I56cfd1541777e7b7a8ab32c1ecf4eda586c693d2
This commit is contained in:
Efraim Flashner 2025-03-05 13:26:43 +02:00
parent 92a3a6bdec
commit 535cebc25a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -542,14 +542,20 @@ the terminal.")
(define-public codeberg-cli
(package
(name "codeberg-cli")
(version "0.4.7")
(version "0.4.9")
(source
(origin
(method url-fetch)
(uri (crate-uri "codeberg-cli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1irqikkpkrvsafkn1pkhpikj9inhkx4xks74hsc87x2ai94h49f9"))))
(base32 "0b06jz5nh8pcgpbsfbgw1cjkpn1px3snj9p3k63gxcdp05cy0zgw"))
(snippet
#~(begin (use-modules (guix build utils))
;; Edition 2024 isn't supported until rust-1.85.
;; This was reverted upstream.
(substitute* "Cargo.toml"
(("2024") "2021"))))))
(build-system cargo-build-system)
(arguments
(list