meson,ci: Add the paste crate
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27397>
This commit is contained in:

committed by
Marge Bot

parent
923a0a727b
commit
dde95fc039
18
subprojects/packagefiles/paste/meson.build
Normal file
18
subprojects/packagefiles/paste/meson.build
Normal file
@@ -0,0 +1,18 @@
|
||||
project(
|
||||
'paste',
|
||||
'rust',
|
||||
version : '1.0.14',
|
||||
license : '(MIT or Apache-2.0)',
|
||||
)
|
||||
|
||||
add_languages('rust', required: true)
|
||||
rust = import('rust')
|
||||
|
||||
lib = rust.proc_macro(
|
||||
'paste',
|
||||
files('src/lib.rs')
|
||||
)
|
||||
|
||||
dep_paste = declare_dependency(
|
||||
link_with : [lib],
|
||||
)
|
6
subprojects/paste.wrap
Normal file
6
subprojects/paste.wrap
Normal file
@@ -0,0 +1,6 @@
|
||||
[wrap-file]
|
||||
directory = paste-1.0.14
|
||||
source_url = https://crates.io/api/v1/crates/paste/1.0.14/download
|
||||
source_filename = paste-1.0.14.tar.gz
|
||||
source_hash = de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c
|
||||
patch_directory = paste
|
Reference in New Issue
Block a user