gnu: rust-tiny-http: Move to (gnu packages crates-web).

* gnu/packages/crates-io.scm (rust-tiny-http-0.12, rust-tiny-http-0.6):
Move from here ...
* gnu/packages/crates-web.scm: ... to here.

Change-Id: If2e7ae9bb781928d8fa2330b903fff8ceff6da0d
This commit is contained in:
Efraim Flashner 2024-01-24 11:18:09 +02:00
parent 77160da5fc
commit d892315af9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
3 changed files with 54 additions and 53 deletions

View File

@ -68019,59 +68019,6 @@ closures after a delay or at a given timestamp.")
manipulation in Rust.")
(license license:expat)))
(define-public rust-tiny-http-0.12
(package
(name "rust-tiny-http")
(version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tiny_http" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "10nw9kk2i2aq4l4csy0825qkq0l66f9mz2c1n57yg8hkckgib69q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ascii" ,rust-ascii-1)
("rust-chunked-transfer" ,rust-chunked-transfer-1)
("rust-httparse" ,rust-httparse-1)
("rust-httpdate" ,rust-httpdate-1)
("rust-log" ,rust-log-0.4)
("rust-openssl" ,rust-openssl-0.10)
("rust-rustls" ,rust-rustls-0.20)
("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2))
#:cargo-development-inputs
(("rust-fdlimit" ,rust-fdlimit-0.1)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-sha1" ,rust-sha1-0.6))))
(home-page "https://github.com/tiny-http/tiny-http")
(synopsis "Low level HTTP server library")
(description "This package provides a low level HTTP server library.")
(license (list license:expat license:asl2.0))))
(define-public rust-tiny-http-0.6
(package
(inherit rust-tiny-http-0.12)
(name "rust-tiny-http")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "tiny_http" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-ascii" ,rust-ascii-0.8)
("rust-chrono" ,rust-chrono-0.4)
("rust-chunked-transfer" ,rust-chunked-transfer-0.3)
("rust-log" ,rust-log-0.4)
("rust-openssl" ,rust-openssl-0.10)
("rust-url" ,rust-url-1))))))
(define-public rust-tiny-keccak-2
(package
(name "rust-tiny-keccak")

View File

@ -3082,6 +3082,59 @@ responses, and headers for the Rocket web framework.")
alike. It's completely modular, and built directly for @code{async/await}.")
(license (list license:expat license:asl2.0))))
(define-public rust-tiny-http-0.12
(package
(name "rust-tiny-http")
(version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tiny_http" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "10nw9kk2i2aq4l4csy0825qkq0l66f9mz2c1n57yg8hkckgib69q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ascii" ,rust-ascii-1)
("rust-chunked-transfer" ,rust-chunked-transfer-1)
("rust-httparse" ,rust-httparse-1)
("rust-httpdate" ,rust-httpdate-1)
("rust-log" ,rust-log-0.4)
("rust-openssl" ,rust-openssl-0.10)
("rust-rustls" ,rust-rustls-0.20)
("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2))
#:cargo-development-inputs
(("rust-fdlimit" ,rust-fdlimit-0.1)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-sha1" ,rust-sha1-0.6))))
(home-page "https://github.com/tiny-http/tiny-http")
(synopsis "Low level HTTP server library")
(description "This package provides a low level HTTP server library.")
(license (list license:expat license:asl2.0))))
(define-public rust-tiny-http-0.6
(package
(inherit rust-tiny-http-0.12)
(name "rust-tiny-http")
(version "0.6.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "tiny_http" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-ascii" ,rust-ascii-0.8)
("rust-chrono" ,rust-chrono-0.4)
("rust-chunked-transfer" ,rust-chunked-transfer-0.3)
("rust-log" ,rust-log-0.4)
("rust-openssl" ,rust-openssl-0.10)
("rust-url" ,rust-url-1))))))
(define-public rust-trust-dns-client-0.22
(package
(name "rust-trust-dns-client")

View File

@ -28,6 +28,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages crates-graphics)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-web)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages node)