diff options
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index ff1dd0cff5..6e9ccc6bd9 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -2243,6 +2243,104 @@ with hyper.") #:cargo-development-inputs (("rust-tokio" ,rust-tokio-0.2)))))) +(define-public rust-rocket-0.4 + (package + (name "rust-rocket") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-base64" ,rust-base64-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-pear" ,rust-pear-0.1) + ("rust-rocket-codegen" ,rust-rocket-codegen-0.4) + ("rust-rocket-http" ,rust-rocket-http-0.4) + ("rust-state" ,rust-state-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-toml" ,rust-toml-0.4) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-0.5) + ("rust-yansi" ,rust-yansi-0.5)))) + (home-page "https://rocket.rs") + (synopsis + "Web framework with focus on ease-of-use, expressibility, and speed") + (description + "Rocket is a web framework with a focus on ease-of-use, expressibility, +and speed.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rocket-codegen-0.4 + (package + (name "rust-rocket-codegen") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-devise" ,rust-devise-0.2) + ("rust-glob" ,rust-glob-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-quote" ,rust-quote-0.6) + ("rust-rocket-http" ,rust-rocket-http-0.4) + ("rust-version-check" ,rust-version-check-0.9) + ("rust-yansi" ,rust-yansi-0.5)))) + (home-page "https://rocket.rs") + (synopsis "Procedural macros for the Rocket web framework") + (description + "This package provides procedural macros for the Rocket web framework.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rocket-http-0.4 + (package + (name "rust-rocket-http") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rocket_http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cookie" ,rust-cookie-0.11) + ("rust-hyper" ,rust-hyper-0.10) + ("rust-hyper-sync-rustls" ,rust-hyper-sync-rustls-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-pear" ,rust-pear-0.1) + ("rust-percent-encoding" ,rust-percent-encoding-1) + ("rust-rustls" ,rust-rustls-0.14) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-state" ,rust-state-0.4) + ("rust-time" ,rust-time-0.1) + ("rust-unicode-xid" ,rust-unicode-xid-0.1)))) + (home-page "https://rocket.rs") + (synopsis "HTTP requests, responses and headers tooling for Rocket") + (description + "This package provides types, traits, and parsers for HTTP requests, +responses, and headers for the Rocket web framework.") + (license (list license:expat license:asl2.0)))) + (define-public rust-web-view-0.7 (package (name "rust-web-view") |