summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/rust-apps.scm5
-rw-r--r--gnu/packages/rust-crates.scm181
-rw-r--r--gnu/packages/web.scm77
3 files changed, 260 insertions, 3 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 274a2c8aa7f..155da867ea0 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -14,7 +14,7 @@
14;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro> 14;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
15;;; Copyright © 2021, 2023-2025 Maxim Cournoyer <maxim@guixotic.coop> 15;;; Copyright © 2021, 2023-2025 Maxim Cournoyer <maxim@guixotic.coop>
16;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com> 16;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
17;;; Copyright © 2021 jgart <jgart@dismail.de> 17;;; Copyright © 2021, 2026 jgart <jgart@dismail.de>
18;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr> 18;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr>
19;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> 19;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
20;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com> 20;;; Copyright © 2022 Gabriel Arazas <foo.dogsquared@gmail.com>
@@ -140,7 +140,8 @@
140 #:use-module (gnu packages video) 140 #:use-module (gnu packages video)
141 #:use-module (gnu packages xdisorg) 141 #:use-module (gnu packages xdisorg)
142 #:use-module (gnu packages xorg) 142 #:use-module (gnu packages xorg)
143 #:use-module (gnu packages wxwidgets)) 143 #:use-module (gnu packages wxwidgets)
144 #:use-module (gnu packages xml))
144 145
145(define-public aardvark-dns 146(define-public aardvark-dns
146 (package 147 (package
diff --git a/gnu/packages/rust-crates.scm b/gnu/packages/rust-crates.scm
index 6c45ab6e984..3f04dd7483d 100644
--- a/gnu/packages/rust-crates.scm
+++ b/gnu/packages/rust-crates.scm
@@ -2,6 +2,7 @@
2;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space> 2;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
3;;; Copyright © 2026 Daniel Khodabakhsh <d@niel.khodabakh.sh> 3;;; Copyright © 2026 Daniel Khodabakhsh <d@niel.khodabakh.sh>
4;;; Copyright © 2026 Tomás Ortín Fernández (quanrong) <quanrong@mailbox.org> 4;;; Copyright © 2026 Tomás Ortín Fernández (quanrong) <quanrong@mailbox.org>
5;;; Copyright © 2026 jgart <jgart@dismail.de>
5;;; 6;;;
6;;; This file is part of GNU Guix. 7;;; This file is part of GNU Guix.
7;;; 8;;;
@@ -327,6 +328,10 @@
327 (crate-source "alloc-stdlib" "0.2.2" 328 (crate-source "alloc-stdlib" "0.2.2"
328 "1kkfbld20ab4165p29v172h8g0wvq8i06z8vnng14whw0isq5ywl")) 329 "1kkfbld20ab4165p29v172h8g0wvq8i06z8vnng14whw0isq5ywl"))
329 330
331(define rust-alloc-stdlib-0.2.4
332 (crate-source "alloc-stdlib" "0.2.4"
333 "159iyap790nflvdhl1gbkxp9l5w4x7qp5ybg01wx490jx4cs0xhf"))
334
330(define rust-alloca-0.4.0 335(define rust-alloca-0.4.0
331 (crate-source "alloca" "0.4.0" 336 (crate-source "alloca" "0.4.0"
332 "1x6p4387rz6j7h342kp3b7bgvqzyl9mibf959pkfk9xflrgd19z5")) 337 "1x6p4387rz6j7h342kp3b7bgvqzyl9mibf959pkfk9xflrgd19z5"))
@@ -2942,6 +2947,10 @@ fn main() {
2942 (crate-source "brotli" "8.0.2" 2947 (crate-source "brotli" "8.0.2"
2943 "0q25r00z3gm5wzvv4vfxvlx5zjb8i4jwyznrvdcp7abs7ihbkn2b")) 2948 "0q25r00z3gm5wzvv4vfxvlx5zjb8i4jwyznrvdcp7abs7ihbkn2b"))
2944 2949
2950(define rust-brotli-8.0.4
2951 (crate-source "brotli" "8.0.4"
2952 "1cv6f4hdivllg34slvbwy645p1zidbxwpp1vh8jiwyha0sn1mjaw"))
2953
2945(define rust-brotli-decompressor-4.0.2 2954(define rust-brotli-decompressor-4.0.2
2946 (crate-source "brotli-decompressor" "4.0.2" 2955 (crate-source "brotli-decompressor" "4.0.2"
2947 "0dqb0vbhrc77c09qf6qmbylgkfnbjaq8629qp0z42gc0gnnhbykl")) 2956 "0dqb0vbhrc77c09qf6qmbylgkfnbjaq8629qp0z42gc0gnnhbykl"))
@@ -2958,6 +2967,10 @@ fn main() {
2958 (crate-source "brotli-decompressor" "5.0.1" 2967 (crate-source "brotli-decompressor" "5.0.1"
2959 "0929p5smsq5v0jy509gn746y3v1yjjwnk49xg5g1pklj3cz54qjr")) 2968 "0929p5smsq5v0jy509gn746y3v1yjjwnk49xg5g1pklj3cz54qjr"))
2960 2969
2970(define rust-brotli-decompressor-5.0.3
2971 (crate-source "brotli-decompressor" "5.0.3"
2972 "10rm4pyqnznh192nzsjl4dh6bjgzglsadcl676y6f6gy2nnaqcis"))
2973
2961(define rust-browserslist-rs-0.6.0 2974(define rust-browserslist-rs-0.6.0
2962 (crate-source "browserslist-rs" "0.6.0" 2975 (crate-source "browserslist-rs" "0.6.0"
2963 "19l0prgnbx0cyqvjsf30ni7d87nkn8j0fj56fg259yvfh50if1ri")) 2976 "19l0prgnbx0cyqvjsf30ni7d87nkn8j0fj56fg259yvfh50if1ri"))
@@ -6805,6 +6818,10 @@ fn main() {
6805 (crate-source "curl" "0.4.49" 6818 (crate-source "curl" "0.4.49"
6806 "1g7dcrh4mwkn2q0iiga7vc8i68pd5jdby5aparpa6yxqs1nkpz3r")) 6819 "1g7dcrh4mwkn2q0iiga7vc8i68pd5jdby5aparpa6yxqs1nkpz3r"))
6807 6820
6821(define rust-curl-0.4.50
6822 (crate-source "curl" "0.4.50"
6823 "02avq75lp8b8yz4kbhfxf6vzyqvjpwh1rz0cqss7qc75jj4ywi9s"))
6824
6808(define rust-curl-sys-0.4.85+curl-8.18.0 6825(define rust-curl-sys-0.4.85+curl-8.18.0
6809 (crate-source "curl-sys" "0.4.85+curl-8.18.0" 6826 (crate-source "curl-sys" "0.4.85+curl-8.18.0"
6810 "1nrzryl8hw1br69bagr774wrv2w8yim9x8zasgv0bk2y5caadvy0" 6827 "1nrzryl8hw1br69bagr774wrv2w8yim9x8zasgv0bk2y5caadvy0"
@@ -6820,6 +6837,11 @@ fn main() {
6820 "1l06557wwna8wvk62amn01zj7dqr3kd1s6j99vzmw9a7cpg1cj34" 6837 "1l06557wwna8wvk62amn01zj7dqr3kd1s6j99vzmw9a7cpg1cj34"
6821 #:snippet '(delete-file-recursively "curl"))) 6838 #:snippet '(delete-file-recursively "curl")))
6822 6839
6840(define rust-curl-sys-0.4.89+curl-8.20.0
6841 (crate-source "curl-sys" "0.4.89+curl-8.20.0"
6842 "08msv70y78amibg81nxxj2ljw8avnhx9g1bljb8g4f2l51whfs3d"
6843 #:snippet '(delete-file-recursively "curl")))
6844
6823(define rust-current-platform-0.2.0 6845(define rust-current-platform-0.2.0
6824 (crate-source "current_platform" "0.2.0" 6846 (crate-source "current_platform" "0.2.0"
6825 "1g504i1l733bn1hyzzfvwmc8qq84dxxpscs9rcb21cj4zsy5hj57")) 6847 "1g504i1l733bn1hyzzfvwmc8qq84dxxpscs9rcb21cj4zsy5hj57"))
@@ -17832,6 +17854,10 @@ fn main() {
17832(define rust-libwebrtc-0.3.10.5f04705 17854(define rust-libwebrtc-0.3.10.5f04705
17833 package:rust-livekit-0.7.8.5f04705) 17855 package:rust-livekit-0.7.8.5f04705)
17834 17856
17857(define rust-libxml-0.3.13
17858 (crate-source "libxml" "0.3.13"
17859 "0qy14rlp4v210x815aaqd7fl2905aaj23slk9dwsjbwhbd47s2l6"))
17860
17835(define rust-libyml-0.0.5 17861(define rust-libyml-0.0.5
17836 (crate-source "libyml" "0.0.5" 17862 (crate-source "libyml" "0.0.5"
17837 "106963pwg1gc3165bdlk8bbspmk919gk10vshhqglks3z8m700ik")) 17863 "106963pwg1gc3165bdlk8bbspmk919gk10vshhqglks3z8m700ik"))
@@ -60151,6 +60177,161 @@ fn main() {
60151 rust-zerofrom-derive-0.1.6 60177 rust-zerofrom-derive-0.1.6
60152 rust-zerovec-0.10.4 60178 rust-zerovec-0.10.4
60153 rust-zerovec-derive-0.10.3)) 60179 rust-zerovec-derive-0.10.3))
60180 (hurl =>
60181 (list rust-adler32-1.2.0
60182 rust-aho-corasick-1.1.4
60183 rust-alloc-no-stdlib-2.0.4
60184 rust-alloc-stdlib-0.2.4
60185 rust-allocator-api2-0.2.21
60186 rust-android-system-properties-0.1.5
60187 rust-anstream-1.0.0
60188 rust-anstyle-1.0.14
60189 rust-anstyle-parse-1.0.0
60190 rust-anstyle-query-1.1.5
60191 rust-anstyle-wincon-3.0.11
60192 rust-autocfg-1.5.1
60193 rust-base64-0.22.1
60194 rust-bindgen-0.72.1
60195 rust-bitflags-2.13.0
60196 rust-block-buffer-0.12.1
60197 rust-brotli-8.0.4
60198 rust-brotli-decompressor-5.0.3
60199 rust-bstr-1.12.1
60200 rust-bumpalo-3.20.3
60201 rust-cc-1.2.65
60202 rust-cexpr-0.6.0
60203 rust-cfg-if-1.0.4
60204 rust-chacha20-0.10.0
60205 rust-chrono-0.4.45
60206 rust-clang-sys-1.8.1
60207 rust-clap-4.6.1
60208 rust-clap-builder-4.6.0
60209 rust-clap-lex-1.1.0
60210 rust-colorchoice-1.0.5
60211 rust-colored-3.1.1
60212 rust-const-oid-0.10.2
60213 rust-core-foundation-sys-0.8.7
60214 rust-cpufeatures-0.3.0
60215 rust-crc32fast-1.5.0
60216 rust-crypto-common-0.2.2
60217 rust-curl-0.4.50
60218 rust-curl-sys-0.4.89+curl-8.20.0
60219 rust-dary-heap-0.3.9
60220 rust-digest-0.11.3
60221 rust-displaydoc-0.2.6
60222 rust-either-1.16.0
60223 rust-encoding-rs-0.8.35
60224 rust-equivalent-1.0.2
60225 rust-errno-0.3.14
60226 rust-find-msvc-tools-0.1.9
60227 rust-foldhash-0.2.0
60228 rust-form-urlencoded-1.2.2
60229 rust-futures-core-0.3.32
60230 rust-futures-task-0.3.32
60231 rust-futures-util-0.3.32
60232 rust-getrandom-0.4.3
60233 rust-glob-0.3.3
60234 rust-hashbrown-0.16.1
60235 rust-hybrid-array-0.4.12
60236 rust-iana-time-zone-0.1.65
60237 rust-iana-time-zone-haiku-0.1.2
60238 rust-icu-collections-2.2.0
60239 rust-icu-locale-core-2.2.0
60240 rust-icu-normalizer-2.2.0
60241 rust-icu-normalizer-data-2.2.0
60242 rust-icu-properties-2.2.0
60243 rust-icu-properties-data-2.2.0
60244 rust-icu-provider-2.2.0
60245 rust-idna-1.1.0
60246 rust-idna-adapter-1.2.2
60247 rust-is-terminal-polyfill-1.70.2
60248 rust-itertools-0.13.0
60249 rust-itoa-1.0.18
60250 rust-js-sys-0.3.102
60251 rust-libc-0.2.186
60252 rust-libflate-2.3.0
60253 rust-libflate-lz77-2.3.0
60254 rust-libloading-0.8.9
60255 rust-libxml-0.3.13
60256 rust-libz-sys-1.1.29
60257 rust-linux-raw-sys-0.12.1
60258 rust-litemap-0.8.2
60259 rust-log-0.4.33
60260 rust-md5-0.8.0
60261 rust-memchr-2.8.2
60262 rust-minimal-lexical-0.2.1
60263 rust-no-std-io2-0.9.4
60264 rust-nom-7.1.3
60265 rust-num-traits-0.2.19
60266 rust-once-cell-1.21.4
60267 rust-once-cell-polyfill-1.70.2
60268 rust-openssl-probe-0.1.6
60269 rust-openssl-src-300.6.1+3.6.3
60270 rust-openssl-sys-0.9.117
60271 rust-percent-encoding-2.3.2
60272 rust-pin-project-lite-0.2.17
60273 rust-pkg-config-0.3.33
60274 rust-potential-utf-0.1.5
60275 rust-proc-macro2-1.0.106
60276 rust-quote-1.0.45
60277 rust-r-efi-6.0.0
60278 rust-rand-0.10.1
60279 rust-rand-core-0.10.1
60280 rust-regex-1.12.4
60281 rust-regex-automata-0.4.14
60282 rust-regex-syntax-0.8.11
60283 rust-rle-decode-fast-1.0.3
60284 rust-rustc-hash-2.1.2
60285 rust-rustix-1.1.4
60286 rust-rustversion-1.0.22
60287 rust-schannel-0.1.29
60288 rust-serde-1.0.228
60289 rust-serde-core-1.0.228
60290 rust-serde-derive-1.0.228
60291 rust-serde-json-1.0.150
60292 rust-sha2-0.11.0
60293 rust-shlex-1.3.0
60294 rust-shlex-2.0.1
60295 rust-similar-3.1.1
60296 rust-slab-0.4.12
60297 rust-smallvec-1.15.2
60298 rust-socket2-0.6.4
60299 rust-stable-deref-trait-1.2.1
60300 rust-strsim-0.11.1
60301 rust-syn-2.0.118
60302 rust-synstructure-0.13.2
60303 rust-terminal-size-0.4.4
60304 rust-tinystr-0.8.3
60305 rust-toml-0.5.11
60306 rust-typenum-1.20.1
60307 rust-unicode-ident-1.0.24
60308 rust-url-2.5.8
60309 rust-utf8-iter-1.0.4
60310 rust-utf8parse-0.2.2
60311 rust-uuid-1.23.3
60312 rust-vcpkg-0.2.15
60313 rust-wasm-bindgen-0.2.125
60314 rust-wasm-bindgen-macro-0.2.125
60315 rust-wasm-bindgen-macro-support-0.2.125
60316 rust-wasm-bindgen-shared-0.2.125
60317 rust-windows-core-0.62.2
60318 rust-windows-implement-0.60.2
60319 rust-windows-interface-0.59.3
60320 rust-windows-link-0.2.1
60321 rust-windows-result-0.4.1
60322 rust-windows-strings-0.5.1
60323 rust-windows-sys-0.61.2
60324 rust-winres-0.1.12
60325 rust-writeable-0.6.3
60326 rust-xml-1.3.0
60327 rust-yoke-0.8.3
60328 rust-yoke-derive-0.8.2
60329 rust-zerofrom-0.1.8
60330 rust-zerofrom-derive-0.1.7
60331 rust-zerotrie-0.2.4
60332 rust-zerovec-0.11.6
60333 rust-zerovec-derive-0.11.3
60334 rust-zmij-1.0.21))
60154 (hurrycurry => 60335 (hurrycurry =>
60155 (list rust-adler2-2.0.1 60336 (list rust-adler2-2.0.1
60156 rust-aho-corasick-1.1.4 60337 rust-aho-corasick-1.1.4
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index c74fc9e86b0..c7d7f142045 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -58,7 +58,7 @@
58;;; Copyright © 2022 cage <cage-dev@twistfold.it> 58;;; Copyright © 2022 cage <cage-dev@twistfold.it>
59;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev> 59;;; Copyright © 2022 Pradana Aumars <paumars@courrier.dev>
60;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> 60;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
61;;; Copyright © 2022 jgart <jgart@dismail.de> 61;;; Copyright © 2022, 2026 jgart <jgart@dismail.de>
62;;; Copyright © 2023 Paul A. Patience <paul@apatience.com> 62;;; Copyright © 2023 Paul A. Patience <paul@apatience.com>
63;;; Copyright © 2022 Bruno Victal <mirai@makinata.eu> 63;;; Copyright © 2022 Bruno Victal <mirai@makinata.eu>
64;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu> 64;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
@@ -198,6 +198,7 @@
198 #:use-module (gnu packages qt) 198 #:use-module (gnu packages qt)
199 #:use-module (gnu packages compiler-tools) 199 #:use-module (gnu packages compiler-tools)
200 #:use-module (gnu packages readline) 200 #:use-module (gnu packages readline)
201 #:use-module (gnu packages rust)
201 #:use-module (gnu packages sdl) 202 #:use-module (gnu packages sdl)
202 #:use-module (gnu packages search) 203 #:use-module (gnu packages search)
203 #:use-module (gnu packages serialization) 204 #:use-module (gnu packages serialization)
@@ -9995,6 +9996,80 @@ concurrency, and return status.")
9995 ;; GPLv3+ with OpenSSL linking exception. 9996 ;; GPLv3+ with OpenSSL linking exception.
9996 (license license:gpl3+))) 9997 (license license:gpl3+)))
9997 9998
9999(define-public hurl
10000 (package
10001 (name "hurl")
10002 (version "8.0.1")
10003 (source
10004 (origin
10005 ;; The crates.io tarball does not include the hurlfmt crate.
10006 (method git-fetch)
10007 (uri (git-reference
10008 (url "https://github.com/Orange-OpenSource/hurl")
10009 (commit version)))
10010 (file-name (git-file-name name version))
10011 (sha256
10012 (base32 "0wsw9khfznc638qzp8zx2zwgnrg5d160ky5gnslwm9frz3p5hp0d"))))
10013 (build-system cargo-build-system)
10014 (arguments
10015 (list
10016 #:install-source? #f
10017 #:rust rust-1.94
10018 #:cargo-install-paths ''("packages/hurl" "packages/hurlfmt")
10019 #:cargo-test-flags
10020 '(list
10021 ;; Excluding doctests since rust-1.94 does not support them.
10022 "--lib" "--bins" "--tests")
10023 #:phases
10024 #~(modify-phases %standard-phases
10025 (add-after 'unpack 'relax-rust-version
10026 (lambda _
10027 ;; Upstream requires the latest stable Rust.
10028 (substitute* '("packages/hurl/Cargo.toml"
10029 "packages/hurlfmt/Cargo.toml")
10030 (("rust-version = \"1.95.0\"")
10031 "rust-version = \"1.94.0\""))))
10032 (add-before 'check 'start-test-server
10033 (lambda _
10034 ;; The integration tests expect a Flask test server
10035 ;; listening on port 8000.
10036 (with-directory-excursion "integration/hurl"
10037 (mkdir-p "build")
10038 (spawn "python3"
10039 '("python3" "server.py"
10040 "--host" "127.0.0.1" "--port" "8000")))
10041 ;; Wait for the server to come up.
10042 (let loop ((attempts 30))
10043 (unless (false-if-exception
10044 (let ((s (socket PF_INET SOCK_STREAM 0)))
10045 (connect s AF_INET
10046 (inet-pton AF_INET "127.0.0.1") 8000)
10047 (close-port s)))
10048 (when (zero? attempts)
10049 (error "test server did not start"))
10050 (sleep 1)
10051 (loop (1- attempts)))))))))
10052 (native-inputs
10053 (list clang
10054 pkg-config
10055 python
10056 python-flask
10057 python-waitress))
10058 (inputs
10059 (cons* curl
10060 libxml2
10061 openssl
10062 zlib
10063 (cargo-inputs 'hurl)))
10064 (home-page "https://hurl.dev")
10065 (synopsis "Run and test HTTP requests")
10066 (description
10067 "Hurl is a command line tool that runs HTTP requests defined in a plain
10068text format. It can chain requests, capture values and evaluate queries on
10069headers and body response. This package also provides @command{hurlfmt},
10070a formatter and linter for Hurl files.")
10071 (license license:asl2.0)))
10072
9998(define-public gmnisrv 10073(define-public gmnisrv
9999 (package 10074 (package
10000 (name "gmnisrv") 10075 (name "gmnisrv")