M guixrus/packages/common/rust.scm => guixrus/packages/common/rust.scm +27 -0
@@ 7548,3 7548,30 @@ special characters from and to HTML entries.")
"This package provides a (mostly) pure-Rust implementation of various
common cryptographic algorithms.")
(license (list license:expat license:asl2.0))))
+
+(define-public rust-tiny-http-0.8
+ (package
+ (name "rust-tiny-http")
+ (version "0.8.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "tiny-http" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fcdwpb2ghk671qjjrk6048hs3yp7f681hxpr68gamk00181prcw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ascii" ,rust-ascii-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-chunked-transfer" ,rust-chunked-transfer-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-url" ,rust-url-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 "Low level HTTP server library")
+ (license (list license:expat license:asl2.0))))
M guixrus/packages/tree-sitter.scm => guixrus/packages/tree-sitter.scm +1 -1
@@ 89,7 89,7 @@
("rust-serde-json" ,rust-serde-json-1)
("rust-smallbitvec" ,rus:rust-smallbitvec-2)
("rust-thiserror" ,rust-thiserror-1)
- ("rust-tiny-http" ,rust-tiny-http-0.8)
+ ("rust-tiny-http" ,rus:rust-tiny-http-0.8)
("rust-toml" ,rust-toml-0.5)
("rust-walkdir" ,rust-walkdir-2)
("rust-webbrowser" ,rust-webbrowser-0.5)