[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
250/470: gnu: Add rust-http-auth-0.1.
From: |
guix-commits |
Subject: |
250/470: gnu: Add rust-http-auth-0.1. |
Date: |
Thu, 16 Mar 2023 03:01:20 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 0f9249a6aef694e17f53307ceff4a83318f770c3
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 5654878e93..131f98511d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27012,6 +27012,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")
- 417/470: gnu: rust-signal-hook-mio-0.2: Update to 0.2.3., (continued)
- 417/470: gnu: rust-signal-hook-mio-0.2: Update to 0.2.3., guix-commits, 2023/03/16
- 216/470: gnu: Add rust-trycmd-0.14., guix-commits, 2023/03/16
- 219/470: gnu: rust-zeroize-1: Update to 1.5.7., guix-commits, 2023/03/16
- 225/470: gnu: rust-futures-core-0.3: Update to 0.3.26., guix-commits, 2023/03/16
- 231/470: gnu: Add rust-time-core-0.1., guix-commits, 2023/03/16
- 223/470: gnu: Add rust-clap-derive-4., guix-commits, 2023/03/16
- 240/470: gnu: Add rust-portable-atomic-1., guix-commits, 2023/03/16
- 248/470: gnu: Add rust-include-dir-0.7., guix-commits, 2023/03/16
- 260/470: gnu: rust-futures-channel-0.3: Update to 0.3.26., guix-commits, 2023/03/16
- 245/470: gnu: Add rust-litrs-0.2., guix-commits, 2023/03/16
- 250/470: gnu: Add rust-http-auth-0.1.,
guix-commits <=
- 251/470: gnu: Add rust-kuznyechik-0.8., guix-commits, 2023/03/16
- 241/470: gnu: Add rust-pem-0.8., guix-commits, 2023/03/16
- 246/470: gnu: Add rust-inout-0.1., guix-commits, 2023/03/16
- 263/470: gnu: rust-futures-sink-0.3: Update to 0.3.26., guix-commits, 2023/03/16
- 255/470: gnu: Add rust-android-system-properties-0.1., guix-commits, 2023/03/16
- 243/470: gnu: Add rust-nom8-0.2., guix-commits, 2023/03/16
- 254/470: gnu: Add rust-base64-0.20., guix-commits, 2023/03/16
- 238/470: gnu: Add rust-quinn-0.8., guix-commits, 2023/03/16
- 244/470: gnu: Add rust-magma-0.8., guix-commits, 2023/03/16
- 242/470: gnu: Add rust-num-threads-0.1., guix-commits, 2023/03/16