diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-25 20:02:29 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:19:15 +0200 |
| commit | e978ba7ff0e23e4853fad2fcf1be71b24549bc08 (patch) | |
| tree | d7e6783914e44fc8956cebdb50e39bcda19f5afe /gnu/packages/c2rust.scm | |
| parent | 058f4d5a2dbb04fd66afc420aca5690fc2ce7c44 (diff) | |
gnu: rust-c2rust-ast-exporter-0.18: Sort alphabetically.
* gnu/packages/c2rust.scm (rust-c2rust-ast-exporter-0.18): Sort.
Change-Id: I480c1e8bea7946f82ddc91e00d55a7bc9fda6f95
Diffstat (limited to 'gnu/packages/c2rust.scm')
| -rw-r--r-- | gnu/packages/c2rust.scm | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/gnu/packages/c2rust.scm b/gnu/packages/c2rust.scm index 05748ee6a79..c57912d9f3c 100644 --- a/gnu/packages/c2rust.scm +++ b/gnu/packages/c2rust.scm | |||
| @@ -56,6 +56,51 @@ | |||
| 56 | "This package provides Rust AST builder support crate for the C2Rust project.") | 56 | "This package provides Rust AST builder support crate for the C2Rust project.") |
| 57 | (license license:bsd-3))) | 57 | (license license:bsd-3))) |
| 58 | 58 | ||
| 59 | (define-public rust-c2rust-ast-exporter-0.18 | ||
| 60 | (package | ||
| 61 | (name "rust-c2rust-ast-exporter") | ||
| 62 | (version "0.18.0") | ||
| 63 | (source | ||
| 64 | (origin | ||
| 65 | (method url-fetch) | ||
| 66 | (uri (crate-uri "c2rust-ast-exporter" version)) | ||
| 67 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 68 | (sha256 | ||
| 69 | (base32 "1m589a7jld5mi7zv9z179p5j90zh7mkhbmj05mgx6bbp6m45kx7p")) | ||
| 70 | (patches (search-patches "c2rust-ast-exporter-local-search.patch")) | ||
| 71 | (modules '((guix build utils))))) | ||
| 72 | (build-system cargo-build-system) | ||
| 73 | (native-inputs | ||
| 74 | `(("cmake" ,cmake) | ||
| 75 | ("clang" ,clang))) | ||
| 76 | (inputs | ||
| 77 | `(("llvm" ,llvm) | ||
| 78 | ("tinycbor-src" ,%tinycbor-source))) | ||
| 79 | (arguments | ||
| 80 | `(#:phases | ||
| 81 | (modify-phases %standard-phases | ||
| 82 | (add-after 'unpack 'bundle-tinycbor | ||
| 83 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 84 | ;; The build process will slightly patch the sources. | ||
| 85 | (copy-recursively (assoc-ref inputs "tinycbor-src") | ||
| 86 | "/tmp/tinycbor") | ||
| 87 | (setenv "GUIX_TINYCBOR_SOURCE_DIR" "/tmp/tinycbor")))) | ||
| 88 | #:skip-build? #f | ||
| 89 | #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65) | ||
| 90 | ("rust-c2rust-build-paths" ,rust-c2rust-build-paths-0.18) | ||
| 91 | ("rust-clang-sys" ,rust-clang-sys-1) | ||
| 92 | ("rust-cmake" ,rust-cmake-0.1) | ||
| 93 | ("rust-env-logger" ,rust-env-logger-0.10) | ||
| 94 | ("rust-libc" ,rust-libc-0.2) | ||
| 95 | ("rust-serde" ,rust-serde-1) | ||
| 96 | ("rust-serde-bytes" ,rust-serde-bytes-0.11) | ||
| 97 | ("rust-serde-cbor" ,rust-serde-cbor-0.11)))) | ||
| 98 | (home-page "https://c2rust.com/") | ||
| 99 | (synopsis "Clang AST extraction API for use in the C2Rust project") | ||
| 100 | (description | ||
| 101 | "This package provides Clang AST extraction API for use in the C2Rust project.") | ||
| 102 | (license license:bsd-3))) | ||
| 103 | |||
| 59 | (define-public rust-c2rust-ast-printer-0.18 | 104 | (define-public rust-c2rust-ast-printer-0.18 |
| 60 | (package | 105 | (package |
| 61 | (name "rust-c2rust-ast-printer") | 106 | (name "rust-c2rust-ast-printer") |
| @@ -160,51 +205,6 @@ | |||
| 160 | (base32 | 205 | (base32 |
| 161 | "0w38lzj0rz36skc1cn3shllc82c7nn32h88frb8f164a8haq3hkw")))) | 206 | "0w38lzj0rz36skc1cn3shllc82c7nn32h88frb8f164a8haq3hkw")))) |
| 162 | 207 | ||
| 163 | (define-public rust-c2rust-ast-exporter-0.18 | ||
| 164 | (package | ||
| 165 | (name "rust-c2rust-ast-exporter") | ||
| 166 | (version "0.18.0") | ||
| 167 | (source | ||
| 168 | (origin | ||
| 169 | (method url-fetch) | ||
| 170 | (uri (crate-uri "c2rust-ast-exporter" version)) | ||
| 171 | (file-name (string-append name "-" version ".tar.gz")) | ||
| 172 | (sha256 | ||
| 173 | (base32 "1m589a7jld5mi7zv9z179p5j90zh7mkhbmj05mgx6bbp6m45kx7p")) | ||
| 174 | (patches (search-patches "c2rust-ast-exporter-local-search.patch")) | ||
| 175 | (modules '((guix build utils))))) | ||
| 176 | (build-system cargo-build-system) | ||
| 177 | (native-inputs | ||
| 178 | `(("cmake" ,cmake) | ||
| 179 | ("clang" ,clang))) | ||
| 180 | (inputs | ||
| 181 | `(("llvm" ,llvm) | ||
| 182 | ("tinycbor-src" ,%tinycbor-source))) | ||
| 183 | (arguments | ||
| 184 | `(#:phases | ||
| 185 | (modify-phases %standard-phases | ||
| 186 | (add-after 'unpack 'bundle-tinycbor | ||
| 187 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 188 | ;; The build process will slightly patch the sources. | ||
| 189 | (copy-recursively (assoc-ref inputs "tinycbor-src") | ||
| 190 | "/tmp/tinycbor") | ||
| 191 | (setenv "GUIX_TINYCBOR_SOURCE_DIR" "/tmp/tinycbor")))) | ||
| 192 | #:skip-build? #f | ||
| 193 | #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65) | ||
| 194 | ("rust-c2rust-build-paths" ,rust-c2rust-build-paths-0.18) | ||
| 195 | ("rust-clang-sys" ,rust-clang-sys-1) | ||
| 196 | ("rust-cmake" ,rust-cmake-0.1) | ||
| 197 | ("rust-env-logger" ,rust-env-logger-0.10) | ||
| 198 | ("rust-libc" ,rust-libc-0.2) | ||
| 199 | ("rust-serde" ,rust-serde-1) | ||
| 200 | ("rust-serde-bytes" ,rust-serde-bytes-0.11) | ||
| 201 | ("rust-serde-cbor" ,rust-serde-cbor-0.11)))) | ||
| 202 | (home-page "https://c2rust.com/") | ||
| 203 | (synopsis "Clang AST extraction API for use in the C2Rust project") | ||
| 204 | (description | ||
| 205 | "This package provides Clang AST extraction API for use in the C2Rust project.") | ||
| 206 | (license license:bsd-3))) | ||
| 207 | |||
| 208 | (define-public rust-c2rust-transpile-0.18 | 208 | (define-public rust-c2rust-transpile-0.18 |
| 209 | (package | 209 | (package |
| 210 | (name "rust-c2rust-transpile") | 210 | (name "rust-c2rust-transpile") |
