diff options
author | Franz Geffke <m@f-a.nz> | 2025-01-17 01:14:33 +0000 |
---|---|---|
committer | Franz Geffke <m@f-a.nz> | 2025-01-17 01:14:33 +0000 |
commit | bb7421d34a0e311fb9368327cb9151494fc4a045 (patch) | |
tree | 723d059dea94a82fa9e189949d7bce6cfea05664 /px/packages/crates-io.scm | |
parent | f2f50869217696d91df3f81d11a3af863cb7cfd9 (diff) |
px: rust-oauth2@4: Added
Diffstat (limited to 'px/packages/crates-io.scm')
-rw-r--r-- | px/packages/crates-io.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/px/packages/crates-io.scm b/px/packages/crates-io.scm index 5cdd7be..14a4420 100644 --- a/px/packages/crates-io.scm +++ b/px/packages/crates-io.scm @@ -153,6 +153,45 @@ of the standard synchronization primitives.") "This package provides An extensible, strongly-typed implementation of OAuth2.") (license (list license:expat license:asl2.0)))) +(define-public rust-oauth2-4 + (package + (name "rust-oauth2") + (version "4.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "oauth2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zwkmwxwygl4fwghgyanixzqgn7yvkwwwacdghz7x124v36l3263")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.13) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-curl" ,rust-curl-0.4) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-http" ,rust-http-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-ureq" ,rust-ureq-2) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-tokio" ,rust-tokio-1) + ("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://github.com/ramosbugs/oauth2-rs") + (synopsis "An extensible, strongly-typed implementation of OAuth2") + (description + "This package provides An extensible, strongly-typed implementation of OAuth2.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-plain-1 (package (name "rust-serde-plain") |