me
/
guix
Archived
1
0
Fork 0

gnu: rust-emacs-module-0.10: Build with newer rust-bindgen.

* gnu/packages/crates-io.scm (rust-emacs-module-0.10)[source]: Add
snippet to accept a newer version of bindgen.
[cargo-inputs]: Replace rust-bindgen-0.48 with 0.59.

Change-Id: Id022ac1dfe71038b4162a844e1e8489d0c265a22
master
Efraim Flashner 2024-01-22 20:58:40 +02:00
parent 101c6e0760
commit c90c089c07
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 5 deletions

View File

@ -20277,21 +20277,26 @@ Emacs' support for dynamic modules.")
(license license:bsd-3)))
(define-public rust-emacs-module-0.10
(package (inherit rust-emacs-module-0.18)
(package
(inherit rust-emacs-module-0.18)
(name "rust-emacs-module")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "emacs_module" version))
(file-name
(string-append name "-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1gf9lz735xbkyir53dyv362drfx3nin5an5cx39kd8q8kjjwix5g"))))
"1gf9lz735xbkyir53dyv362drfx3nin5an5cx39kd8q8kjjwix5g"))
(modules '((guix build utils)))
(snippet
;; Force a newer version of bindgen.
'(begin (substitute* "Cargo.toml"
(("0\\.48\\.1") "0.59"))))))
(arguments
`(#:cargo-inputs
(("rust-bindgen" ,rust-bindgen-0.48))))))
(("rust-bindgen" ,rust-bindgen-0.59))))))
(define-public rust-emacs-org-link-parser-0.1
(package