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