[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
107/475: gnu: Add rust-http-auth-0.1.
From: |
guix-commits |
Subject: |
107/475: gnu: Add rust-http-auth-0.1. |
Date: |
Sun, 7 May 2023 12:46:21 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit cfe8f025ae7bea0670fb442cd642d5fcdd4fb690
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:17:29 2023 +0200
gnu: Add rust-http-auth-0.1.
* gnu/packages/crates-io.scm (rust-http-auth-0.1): New variable.
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a94ee9bcaa..6af7795046 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27184,6 +27184,43 @@ requests and responses.")
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-http-auth-0.1
+ (package
+ (name "rust-http-auth")
+ (version "0.1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "http-auth" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"1g6gpn2py0c4l45wp61k3zc45vg5l20zq39mxgxh56hzgb6wlc2l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; error: failed to parse bitcode for LTO module
+ #:cargo-inputs
+ (("rust-base64" ,rust-base64-0.21)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-hex" ,rust-hex-0.4)
+ ("rust-http" ,rust-http-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-md-5" ,rust-md-5-0.10)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-sha2" ,rust-sha2-0.10))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-reqwest" ,rust-reqwest-0.11))))
+ (inputs
+ (list openssl))
+ (native-inputs
+ (list pkg-config))
+ (home-page "https://github.com/scottlamb/http-auth")
+ (synopsis "HTTP authentication for rust")
+ (description "This package provices HTTP authentication; it can parse
+challenge lists, respond to Basic and Digest challenges. It is likely to be
+extended with server support and additional auth schemes.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-http-body-0.4
(package
(name "rust-http-body")
- 154/475: gnu: Add rust-tokio-util-0.5., (continued)
- 154/475: gnu: Add rust-tokio-util-0.5., guix-commits, 2023/05/07
- 153/475: gnu: Add rust-proptest-derive-0.3., guix-commits, 2023/05/07
- 155/475: gnu: Add rust-ntest-proc-macro-helper-0.8., guix-commits, 2023/05/07
- 160/475: gnu: Remove rust-test-cert-gen-0.1., guix-commits, 2023/05/07
- 162/475: gnu: Remove rust-slab-0.3., guix-commits, 2023/05/07
- 167/475: gnu: Remove rust-polars-lazy-0.16., guix-commits, 2023/05/07
- 170/475: gnu: Remove rust-parity-wasm-0.40., guix-commits, 2023/05/07
- 174/475: gnu: Remove rust-git2-curl-0.14., guix-commits, 2023/05/07
- 176/475: gnu: Remove rust-float-cmp-0.3., guix-commits, 2023/05/07
- 83/475: gnu: Add rust-windows-sys-0.45., guix-commits, 2023/05/07
- 107/475: gnu: Add rust-http-auth-0.1.,
guix-commits <=
- 108/475: gnu: Add rust-kuznyechik-0.8., guix-commits, 2023/05/07
- 173/475: gnu: Remove rust-hashlink-0.6., guix-commits, 2023/05/07
- 181/475: gnu: Remove rust-pangocairo-0.9., guix-commits, 2023/05/07
- 195/475: gnu: Add rust-tiff-0.8., guix-commits, 2023/05/07
- 220/475: gnu: rust-wasm-bindgen-test-0.3: Update to 0.3.34., guix-commits, 2023/05/07
- 65/475: gnu: rust-snapbox-0.4: Update to 0.4.7., guix-commits, 2023/05/07
- 68/475: gnu: rust-time-0.3: Update to 0.3.19., guix-commits, 2023/05/07
- 70/475: gnu: Add rust-tokio-rustls-0.23., guix-commits, 2023/05/07
- 82/475: gnu: Add rust-zeroize-1.4., guix-commits, 2023/05/07
- 97/475: gnu: Add rust-rcgen-0.8., guix-commits, 2023/05/07