gnu: rust-globwalk-0.8: Build with newer rust-backtrace.

* gnu/packages/crates-io.scm (rust-globwalk-0.8)[source]: Add snippet to
accept newer versions of rust-backtrace.
[cargo-development-inputs]: Replace rust-backtrace-0.3.35 with 0.3.
(rust-backtrace-0.3.35): Remove variable.
This commit is contained in:
Efraim Flashner 2023-04-25 14:38:10 +03:00
parent 5368830fe1
commit 4c51d30199
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5909,21 +5909,6 @@ (define-public rust-backtrace-0.3
trace (backtrace) at runtime in a Rust program.") trace (backtrace) at runtime in a Rust program.")
(license (list license:asl2.0 license:expat)))) (license (list license:asl2.0 license:expat))))
(define-public rust-backtrace-0.3.35
(package
(inherit rust-backtrace-0.3)
(name "rust-backtrace")
(version "0.3.35")
(source
(origin
(method url-fetch)
(uri (crate-uri "backtrace" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0mfwbb6832rh1za304w8x37bvs9fjbybpmmz0iksqfzsaf108w8k"))))))
(define-public rust-bare-metal-1 (define-public rust-bare-metal-1
(package (package
(name "rust-bare-metal") (name "rust-bare-metal")
@ -25738,7 +25723,12 @@ (define-public rust-globwalk-0.8
(uri (crate-uri "globwalk" version)) (uri (crate-uri "globwalk" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1k6xwkydr7igvwjn3xkwjywk4213lcs53f576ilqz1h84jaazqwk")))) (base32 "1k6xwkydr7igvwjn3xkwjywk4213lcs53f576ilqz1h84jaazqwk"))
(modules '((guix build utils)))
(snippet
'(begin (substitute* "Cargo.toml"
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
@ -25746,7 +25736,7 @@ (define-public rust-globwalk-0.8
("rust-ignore" ,rust-ignore-0.4) ("rust-ignore" ,rust-ignore-0.4)
("rust-walkdir" ,rust-walkdir-2)) ("rust-walkdir" ,rust-walkdir-2))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-backtrace" ,rust-backtrace-0.3.35) (("rust-backtrace" ,rust-backtrace-0.3)
("rust-docmatic" ,rust-docmatic-0.1) ("rust-docmatic" ,rust-docmatic-0.1)
("rust-tempdir" ,rust-tempdir-0.3)))) ("rust-tempdir" ,rust-tempdir-0.3))))
(home-page "https://github.com/gilnaa/globwalk") (home-page "https://github.com/gilnaa/globwalk")