summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 13:11:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:55 +0200
commit6851b30def30f3da7043af5e47c101b822b018bd (patch)
tree6f5cad30b8021cd5cf063b1c7078621683296fbf /gnu/packages/crates-io.scm
parent31fae595e35605a8366370ac493dabe871993b3a (diff)
downloadguix-6851b30def30f3da7043af5e47c101b822b018bd.tar.gz
gnu: rust-webpki: Move to (gnu packages crates-web).
* gnu/packages/crates-io.scm (rust-webpki-0.22, rust-webpki-0.21,
rust-webpki-0.19, rust-webpki-0.18, rust-webpki-roots-0.25,
rust-webpki-roots-0.23, rust-webpki-roots-0.22, rust-webpki-roots-0.21,
rust-webpki-roots-0.20, rust-webpki-roots-0.19, rust-webpki-roots-0.18,
rust-webpki-roots-0.17, rust-webpki-roots-0.16, rust-webpki-roots-0.15):
Move from here ...
* gnu/packages/crates-web.scm: ... to here.

Change-Id: I7eb05c11453bc780f4c66c2c3ac2c3c20cafcee3
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm276
1 files changed, 1 insertions, 275 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc87a94143..f8cecd47da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75,6 +75,7 @@
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages crates-gtk)
   #:use-module (gnu packages crates-vcs)
+  #:use-module (gnu packages crates-web)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
@@ -86752,281 +86753,6 @@ available on a platform.")
         ("rust-widestring" ,rust-widestring-0.4)
         ("rust-winapi" ,rust-winapi-0.3))))))
 
-(define-public rust-webpki-0.22
-  (package
-    (name "rust-webpki")
-    (version "0.22.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1gd1gxip5kgdwmrvhj5gjxij2mgg2mavq1ych4q1h272ja0xg5gh"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-ring" ,rust-ring-0.16)
-        ("rust-untrusted" ,rust-untrusted-0.7))
-       #:cargo-development-inputs
-       (("rust-base64" ,rust-base64-0.9))))
-    (home-page "https://github.com/briansmith/webpki")
-    (synopsis "Web PKI X.509 Certificate Verification")
-    (description "This package provides Web PKI X.509 Certificate
-Verification.")
-    (license license:isc)))
-
-(define-public rust-webpki-0.21
-  (package
-    (inherit rust-webpki-0.22)
-    (name "rust-webpki")
-    (version "0.21.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1sm4i8c5bw3bdhi7mjk0wpvwx55hvsmyn0k2lpa4cb161038rqxq"))))
-    (arguments
-     `(#:tests? #f ;; tests fail to build "missing file tests/ed25519/ee.der"
-       #:cargo-inputs
-       (("rust-ring" ,rust-ring-0.16)
-        ("rust-untrusted" ,rust-untrusted-0.7))
-       #:cargo-development-inputs
-       (("rust-base64" ,rust-base64-0.9))))))
-
-(define-public rust-webpki-0.19
-  (package
-    (inherit rust-webpki-0.21)
-    (name "rust-webpki")
-    (version "0.19.1")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "webpki" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "10nhyxlqsa4caxlxrijm5h79rdg6ld8hqy78ldjnnfhaj3biqzjg"))))
-    (arguments
-     `(#:tests? #f  ; tests fail to build "missing file tests/ed25519/ee.der"
-       #:cargo-inputs
-       (("rust-ring" ,rust-ring-0.14)
-        ("rust-untrusted" ,rust-untrusted-0.6))
-       #:cargo-development-inputs
-       (("rust-base64" ,rust-base64-0.9))))))
-
-(define-public rust-webpki-0.18
-  (package
-    (inherit rust-webpki-0.19)
-    (name "rust-webpki")
-    (version "0.18.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0zx1v8afa4ig97dyqfrnlj5i7pib6dnfw88qn2iiqhfq2rrrdmqp"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build? #t     ; TODO: Fix building rust-ring-0.13
-       #:cargo-inputs
-       (("rust-ring" ,rust-ring-0.13)
-        ("rust-untrusted" ,rust-untrusted-0.6))
-       #:cargo-development-inputs
-       (("rust-base64" ,rust-base64-0.9))
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'build 'build-curve25519-tables
-           (lambda* (#:key vendor-dir #:allow-other-keys)
-             (with-directory-excursion
-               (dirname (car (find-files vendor-dir "make_curve25519_tables.py")))
-               (with-output-to-file "curve25519_tables.h"
-                 (lambda _
-                   (invoke "python" "make_curve25519_tables.py")))))))))))
-
-(define-public rust-webpki-roots-0.25
-  (package
-    (name "rust-webpki-roots")
-    (version "0.25.1")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "webpki-roots" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "15piy0vccppqb74li32gnn9l5a4ysxzwh8bp3qv6z8rhr2hyvin9"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-test-flags
-       (list "--release" "--"
-             ;; This test wants network access.
-             "--skip=generated_code_is_fresh")
-       #:cargo-development-inputs
-       (("rust-percent-encoding" ,rust-percent-encoding-2)
-        ("rust-reqwest" ,rust-reqwest-0.11)
-        ("rust-ring" ,rust-ring-0.16)
-        ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
-        ("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
-        ("rust-tokio" ,rust-tokio-1))))
-    (native-inputs
-     (list pkg-config))
-    (inputs
-     (list openssl))
-    (home-page "https://github.com/rustls/webpki-roots")
-    (synopsis "Mozilla's CA root certificates for use with webpki")
-    (description "This package provides Mozilla's CA root certificates for use
-with webpki.")
-    (license license:mpl2.0)))
-
-(define-public rust-webpki-roots-0.23
-  (package
-    (inherit rust-webpki-roots-0.25)
-    (name "rust-webpki-roots")
-    (version "0.23.1")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "webpki-roots" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0f4k8nng542iilxbibh1nhrdf5wbyi9is4fr219zzrc6hgw5hc5h"))))
-    (arguments
-     `(#:cargo-inputs (("rust-rustls-webpki" ,rust-rustls-webpki-0.100))))))
-
-(define-public rust-webpki-roots-0.22
-  (package
-    (inherit rust-webpki-roots-0.25)
-    (name "rust-webpki-roots")
-    (version "0.22.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0jbll0ys9jakrvv3l1i216bbgj7jbxr7ad2dihw28xcm7s8fnb2m"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-webpki" ,rust-webpki-0.22))))))
-
-(define-public rust-webpki-roots-0.21
-  (package
-    (inherit rust-webpki-roots-0.22)
-    (name "rust-webpki-roots")
-    (version "0.21.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0h49lkr7hrxpyr0xg1nph4m3v1l6rhg8ax9n8msvfwz48hsibgma"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-webpki" ,rust-webpki-0.21))))))
-
-(define-public rust-webpki-roots-0.20
-  (package
-    (inherit rust-webpki-roots-0.21)
-    (name "rust-webpki-roots")
-    (version "0.20.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "17qpmyym1lsi967b4nc3112nb13ism8731bhjqd9hlajafkxw80g"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-webpki" ,rust-webpki-0.21))))))
-
-(define-public rust-webpki-roots-0.19
-  (package
-    (inherit rust-webpki-roots-0.20)
-    (name "rust-webpki-roots")
-    (version "0.19.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0fapdqwbfv0kncplpvbgnr0bjd5a9krlpij9jdzk0mvaa6vz9vzq"))))))
-
-(define-public rust-webpki-roots-0.18
-  (package
-    (inherit rust-webpki-roots-0.19)
-    (name "rust-webpki-roots")
-    (version "0.18.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1d4ss607rgi9pj01zzqa13c1p3m35z314yh6lmjaj4kzvwv5gkci"))))))
-
-(define-public rust-webpki-roots-0.17
-  (package
-    (inherit rust-webpki-roots-0.18)
-    (name "rust-webpki-roots")
-    (version "0.17.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-      (file-name (string-append name "-" version ".tar.gz"))
-      (sha256
-       (base32 "12vi8dh0yik0h4f0b9dnlw5i3gxyky7iblbksh6zcq4xvlvswqm2"))))))
-
-(define-public rust-webpki-roots-0.16
-  (package
-    (inherit rust-webpki-roots-0.17)
-    (name "rust-webpki-roots")
-    (version "0.16.0")
-    (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "webpki-roots" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "03ny02mwqdgd2ff23k03kbwr2rrcaymxhp7jcjjikfh340hs83y1"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-untrusted" ,rust-untrusted-0.6)
-        ("rust-webpki" ,rust-webpki-0.19))))))
-
-(define-public rust-webpki-roots-0.15
-  (package
-    (inherit rust-webpki-roots-0.20)
-    (name "rust-webpki-roots")
-    (version "0.15.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "webpki-roots" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "1gya8j75jnvf9lz36w0l4bf2xnw8qdx6plvhia891mcgj44g9lc5"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-untrusted" ,rust-untrusted-0.6)
-        ("rust-webpki" ,rust-webpki-0.18))))))
-
 (define-public rust-webview-sys-0.6
   (package
     (name "rust-webview-sys")