gnu: Add rust-onig-sys-69.6.
* gnu/packages/crates-io.scm (rust-onig-sys-69.6): New variable. (rust-onig-sys-69.2): Inherit from above.
This commit is contained in:
parent
a027077814
commit
e0c28005c3
1 changed files with 35 additions and 20 deletions
|
@ -17832,37 +17832,52 @@ library. Oniguruma is a modern regex library with support for multiple
|
||||||
character encodings and regex syntaxes.")
|
character encodings and regex syntaxes.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-onig-sys-69.2
|
(define-public rust-onig-sys-69.6
|
||||||
(package
|
(package
|
||||||
(name "rust-onig-sys")
|
(name "rust-onig-sys")
|
||||||
(version "69.2.0")
|
(version "69.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "onig_sys" version))
|
(uri (crate-uri "onig_sys" version))
|
||||||
(file-name
|
(file-name
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0xapbm4mrmyar1lbs3xrly2hm2mkb38hji1j15fjw3scryb3q1pd"))))
|
||||||
"0kjijq29yx05xxg9snvqnfn53dl52hchb4sk3zhfr77mypxlx38a"))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-pkg-config" ,rust-pkg-config-0.3)
|
(("rust-bindgen" ,rust-bindgen-0.55)
|
||||||
("rust-bindgen" ,rust-bindgen-0.50)
|
("rust-cc" ,rust-cc-1)
|
||||||
("rust-cc" ,rust-cc-1))))
|
("rust-pkg-config" ,rust-pkg-config-0.3))))
|
||||||
(home-page "https://github.com/rust-onig/rust-onig")
|
(home-page "https://github.com/rust-onig/rust-onig")
|
||||||
(synopsis
|
(synopsis "Rust bindings to the Oniguruma library")
|
||||||
"Rust bindings to the oniguruma library.")
|
|
||||||
(description
|
(description
|
||||||
"The @code{onig_sys} crate contains raw rust bindings to the oniguruma
|
"This crate contains raw Rust bindings to the Oniguruma library.
|
||||||
library. This crate exposes a set of unsafe functions which can then be used by
|
This crate exposes a set of unsafe functions which can then be used by
|
||||||
other crates to create safe wrappers around Oniguruma.
|
other crates to create safe wrappers around Oniguruma.")
|
||||||
You probably don't want to link to this crate directly; instead check out the
|
|
||||||
@code{onig} crate.")
|
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-onig-sys-69.2
|
||||||
|
(package
|
||||||
|
(inherit rust-onig-sys-69.6)
|
||||||
|
(name "rust-onig-sys")
|
||||||
|
(version "69.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "onig_sys" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0kjijq29yx05xxg9snvqnfn53dl52hchb4sk3zhfr77mypxlx38a"))))
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bindgen" ,rust-bindgen-0.50)
|
||||||
|
("rust-cc" ,rust-cc-1)
|
||||||
|
("rust-pkg-config" ,rust-pkg-config-0.3))))))
|
||||||
|
|
||||||
(define-public rust-once-cell-1
|
(define-public rust-once-cell-1
|
||||||
(package
|
(package
|
||||||
(name "rust-once-cell")
|
(name "rust-once-cell")
|
||||||
|
|
Reference in a new issue