From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SJwMI/6pnV8YWQAA0tVLHw (envelope-from ) for ; Sat, 31 Oct 2020 18:16:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uAXEHv6pnV+dFwAAB5/wlQ (envelope-from ) for ; Sat, 31 Oct 2020 18:16:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 551B5940416 for ; Sat, 31 Oct 2020 18:16:28 +0000 (UTC) Received: from localhost ([::1]:33968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYvQP-00036G-W5 for larch@yhetil.org; Sat, 31 Oct 2020 14:16:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYvQ2-000366-BA for guix-patches@gnu.org; Sat, 31 Oct 2020 14:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYvQ2-0001bY-1W for guix-patches@gnu.org; Sat, 31 Oct 2020 14:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYvQ1-0000F8-S2 for guix-patches@gnu.org; Sat, 31 Oct 2020 14:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43929] gnu: Add pijul. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 31 Oct 2020 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Julien Lepiller Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 43929 <43929@debbugs.gnu.org>, zimoun Received: via spool by 43929-submit@debbugs.gnu.org id=B43929.1604168132893 (code B ref 43929); Sat, 31 Oct 2020 18:16:01 +0000 Received: (at 43929) by debbugs.gnu.org; 31 Oct 2020 18:15:32 +0000 Received: from localhost ([127.0.0.1]:34504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYvPY-0000EL-Hu for submit@debbugs.gnu.org; Sat, 31 Oct 2020 14:15:32 -0400 Received: from mail-pj1-f49.google.com ([209.85.216.49]:54925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYvPW-0000E8-S8 for 43929@debbugs.gnu.org; Sat, 31 Oct 2020 14:15:31 -0400 Received: by mail-pj1-f49.google.com with SMTP id az3so1024330pjb.4 for <43929@debbugs.gnu.org>; Sat, 31 Oct 2020 11:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=OFeiESdAhsMV7uxepMrZjZeltHx2kMbE86StAPHt+RA=; b=uAxhDu+54Gr8fIU8Cuo7AQOrw+7BdYPyJetAKJwRs2HbUVlMuIlrCwhPCGuZzIdb6C c7wmzY1j8L3sFa647G/1NXd/2ylxemTfhCr6xkusGlEHIc/ndmo4yr4bHYh+jZGkbgYO dE9MVeZRlobQgb2U7XIQyG1V3vOyreZF1VLkmKsu3oM34IxVwn8u8oLsxwMwqZ4FBER+ NZDPBsUfC/4fekwFIkEIY47BIR5uYtdafc4WvOAsqnmbdXK/h1Fcr370l4OK/J8Yqyi1 utCgAJe9LwZ/njbDImtS8Fh1dkMnm23GFiJghu6wVQ6OolIezg3peM+C8uSSOD2caKKW 9yPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=OFeiESdAhsMV7uxepMrZjZeltHx2kMbE86StAPHt+RA=; b=XiQltHHoy03UiZvAL1N2dNE1YvhYVLqwe5LWdDYKuD24evfwyLoJxWFAf/FUwOSoNl 7EYPDH1GuP5j6HL5q4jYWjxnuUkzHx/YsgCVmaQYpADk1U8gyulZlm3otKOUZvMlqsbB 6ZbF3+JqhSWEzoc0SDorUF1+AMhcphQb9hUnndw5z8MEaaB7Mi2nzDtLymXJ7twZZtwn /kCts14Hq3qdntvcLFWroywRidrD1z+nP/FQ99CVRrT4LbBtVxRFCUCYbQCxhsQ2vvMs kcELW7j1WvY0zoI/nAZK7pZ2c/ff4lW5TogZF4lnV6jYt/FJ5zobUQYNEToUySySjhTm uDpA== X-Gm-Message-State: AOAM533CfQUZ9d/gs63QoFFQk+KnNcSFIg4KRHmArE9Co3UBfjCIBTLj SooaC1wY9fGWJkL6yntJqq3CcaQtYo6uuQ== X-Google-Smtp-Source: ABdhPJyVRwniHtT8SeCdT5GTRArOqpr/vfuL/JCbJAwBw/+9W38fnQ13URrOam6PFLexI8+WXuSnMQ== X-Received: by 2002:a17:90a:7bc5:: with SMTP id d5mr8912909pjl.99.1604168124671; Sat, 31 Oct 2020 11:15:24 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id j11sm9152718pfe.80.2020.10.31.11.15.20 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 31 Oct 2020 11:15:21 -0700 (PDT) From: John Soo References: <87lfgcog2g.fsf@asu.edu> <864kme2w8g.fsf@gmail.com> <2DFC6265-699A-4EA3-8E50-5352B8EA59F6@lepiller.eu> Date: Sat, 31 Oct 2020 11:15:19 -0700 In-Reply-To: <2DFC6265-699A-4EA3-8E50-5352B8EA59F6@lepiller.eu> (Julien Lepiller's message of "Wed, 28 Oct 2020 13:37:31 -0400") Message-ID: <871rhe1cug.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=uAxhDu+5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: MaH/wo8Q0PFT --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi everyone, Julien Lepiller writes: > Le 28 octobre 2020 11:42:07 GMT-04:00, zimoun >>>From my point of view, because of the =E2=80=9Ctime-machine=E2=80=9D, it = is nice to >>include any version =E2=80=93 especially when it is already done. :-) > > Yeah I agree, you don't have to wait, since you already have > everything available :) I agree. Attached the updated patches. I rebased them this morning. However, during the rebase, I found some that do not build. I marked these with [WIP]. I believe this to be something amiss with the rust-openssl-sys@0.9 dependency. Thanks! - John --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-rust-rust-base58-0.0.patch >From 51bc7cbf4409d12ed5bd2607a93e090a4a3d2afe Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:27:39 -0700 Subject: [PATCH 01/89] gnu: Add rust-rust-base58-0.0. * gnu/packages/crates-io.scm (rust-rust-base58-0.0): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3b4e02278a..4962e49f9d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22193,6 +22193,33 @@ hashing function.") password hashing function.") (license (list license:expat license:asl2.0)))) +(define-public rust-rust-base58-0.0 + (package + (name "rust-rust-base58") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-base58" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fa4y2jjjmg1a0cr3gz4z8rkic0hx2vx5nm23za9lwf6rlgvj4xk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num" ,rust-num-0.1)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.4)))) + (home-page "https://github.com/nham/rust-base58") + (synopsis + "Simple library for converting to and from base-58 strings") + (description + "Convert to and from base-58 strings with a simple Rust api. + Currently the conversion uses the Bitcoin base58 alphabet.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-rust-hawktracer-0.7 (package (name "rust-rust-hawktracer") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-Add-rust-base58-0.1.patch >From 825652dd26aa2fac63addd657dbbbd5362e48484 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:28:40 -0700 Subject: [PATCH 02/89] gnu: Add rust-base58-0.1. * gnu/packages/crates-io.scm (rust-base58-0.1): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4962e49f9d..35c99be33c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1446,6 +1446,28 @@ trace (backtrace) at runtime in a Rust program.") (license (list license:asl2.0 license:expat)))) +(define-public rust-base58-0.1 + (package + (name "rust-base58") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "base58" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10xfw6v7jzn9i682mkw9nqybzafrvl3i2wawwgp5a8gh2n0fw92h")))) + (build-system cargo-build-system) + (home-page "https://github.com/debris/base58") + (synopsis "Tiny and fast base58 encoding") + (description + "Encode to base58 using only Rust. This package is based on +@url{https://github.com/trezor/trezor-crypto/blob/master/base58.c} at commit +c6e7d37. However, this package works only up to 128 bytes.") + (license license:expat))) + (define-public rust-base64-0.12 (package (name "rust-base64") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-Add-rust-bs58-0.2.patch >From 3fa7d5c328d0f98181548837ee9422ace3ca4b35 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:29:05 -0700 Subject: [PATCH 03/89] gnu: Add rust-bs58-0.2. * gnu/packages/crates-io.scm (rust-bs58-0.2): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 35c99be33c..cfea63fa11 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2645,6 +2645,38 @@ dependency on the rust stdlib. This makes it suitable for embedded devices and kernels.") (license (list license:bsd-3 license:expat)))) +(define-public rust-bs58-0.2 + (package + (name "rust-bs58") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "bs58" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "125i962x0m0ggdif6ds51wfif2lypiicy469dj5j2l6rm6xycpn9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-sha2" ,rust-sha2-0.8)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1.3) + ("rust-base58" ,rust-base58-0.1) + ("rust-rust-base58" ,rust-rust-base58-0.0)))) + (home-page + "https://github.com/mycorrhiza/bs58-rs") + (synopsis "Another Base58 codec implementation") + (description + "Another Base58 codec implementation. Compared to the base58 crate this +is significantly faster at decoding (about 2.4x as fast when decoding 32 +bytes), almost the same speed for encoding (about 3% slower when encoding 32 +bytes), doesn't have the 128 byte limitation and supports a configurable +alphabet.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-bstr-0.2 (package (name "rust-bstr") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-gnu-Add-rust-cryptovec-0.4.patch >From 65ba860e67232badedbb703b96cefc74a6e09fac Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:29:29 -0700 Subject: [PATCH 04/89] gnu: Add rust-cryptovec-0.4. * gnu/packages/crates-io.scm (rust-cryptovec-0.4): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cfea63fa11..d0c35e9ccd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5440,6 +5440,33 @@ Code (MAC) algorithms.") algorithms.") (license (list license:expat license:asl2.0)))) +(define-public rust-cryptovec-0.4 + (package + (name "rust-cryptovec") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "cryptovec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1n88dmhfb2dxs48zllq1g1dya76zx4fajw482qy8jj4hgg1da4p4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://crates.io/crates/cryptovec") + (synopsis + "Vector which zeroes its memory on clears and reallocations") + (description + "This package provides a vector which zeroes its memory on clears and +reallocations.") + (license license:asl2.0))) + (define-public rust-cssparser-0.27 (package (name "rust-cssparser") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0005-gnu-Add-rust-getch-0.2.patch >From aa1633a338fc0365e06fe6fbdbe4996d6bf782b3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:29:51 -0700 Subject: [PATCH 05/89] gnu: Add rust-getch-0.2. * gnu/packages/crates-io.scm (rust-getch-0.2): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d0c35e9ccd..bad88b1dc3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9869,6 +9869,33 @@ API library @code{gdi32}.") "This package provides a package for generating 3D meshes/") (license license:asl2.0))) +(define-public rust-getch-0.2 + (package + (name "rust-getch") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "getch" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00in8q95qi8a5q3zn2zcaqp5avj79f5myd2a4zfdy2m24ycvbc5v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-termios" ,rust-termios-0.2)))) + (home-page + "https://nest.pijul.com/pijul_org/getch") + (synopsis + "Portable implementation of getch") + (description + "This package provides a portable implementation of getch, using +_getch on Windows, and termios on Unix.") + (license license:asl2.0))) + (define-public rust-getopts-0.2 (package (name "rust-getopts") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0006-gnu-Add-rust-diffs-0.3.patch >From 0b0c36e6e20e0818562c226dbf8a5561e3a88d90 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:37:16 -0700 Subject: [PATCH 06/89] gnu: Add rust-diffs-0.3. * gnu/packages/crates-io.scm (rust-diffs-0.3): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bad88b1dc3..a01c77064e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6612,6 +6612,30 @@ Diesel.") #:cargo-development-inputs (("rust-term" ,rust-term-0.2)))))) +(define-public rust-diffs-0.3 + (package + (name "rust-diffs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "diffs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "036sqycmir4bbl4016jprsyjq4hicc31r68dyqadmc8ac9pk55d1")))) + (build-system cargo-build-system) + (home-page + "https://nest.pijul.com/pijul_org/pijul") + (synopsis + "Diff algorithms, also called longest common subsequence") + (description + "This package provides a number of diff algorithms, also called longest +common subsequence. The diff algorithms include Myer's diff and Patience +diff.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-digest-0.9 (package (name "rust-digest") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0007-gnu-Add-rust-sanakirja-0.10.patch >From 880e89a2b7a81f80ba5259e6a5ffc92e5d73bbcb Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:50:51 -0700 Subject: [PATCH 07/89] gnu: Add rust-sanakirja-0.10. * gnu/packages/crates-io.scm (rust-sanakirja-0.10): New variable. --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a01c77064e..42dc3413fe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23521,6 +23521,47 @@ paths point to the same file.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-sanakirja-0.10 + (package + (name "rust-sanakirja") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sanakirja" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fhn5lb6jn0pimnk0nbf5h4xvp28xdkdh33d57gq1ixy8b2y091y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fs2" ,rust-fs2-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-memmap" ,rust-memmap-0.7) + ("rust-rand" ,rust-rand-0.4) + ("rust-uuid" ,rust-uuid-0.7)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-hex" ,rust-hex-0.3) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page + "https://nest.pijul.com/pijul_org/sanakirja") + (synopsis + "Key-value dictionary, using copy-on-write and B trees") + (description + "This package provides a key-value dictionary, using copy-on-write and B +trees. It features: +@itemize +@item ACID semantics. +@item B trees with copy-on-write. +@item Support for referential transparency: databases can be cloned in time +O(log n) (where n is the size of the database). This was the original +motivation for writing this library. +@end itemize") + (license (list license:asl2.0 license:expat)))) + (define-public rust-scan-fmt-0.2 (package (name "rust-scan-fmt") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0008-gnu-Add-rust-buffered-reader-0.9.patch >From 0b37114da0fee5ee67c92d6115ff0bfb3c007b4f Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 15:55:21 -0700 Subject: [PATCH 08/89] gnu: Add rust-buffered-reader-0.9. * gnu/packages/crates-io.scm (rust-buffered-reader-0.9): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 42dc3413fe..1ddcf108dd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2725,6 +2725,35 @@ UTF-8.") (base32 "0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r")))))) +(define-public rust-buffered-reader-0.9 + (package + (name "rust-buffered-reader") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "buffered-reader" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bzip2" ,rust-bzip2-0.3) + ("rust-flate2" ,rust-flate2-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://sequoia-pgp.org/") + (synopsis "Super-powered Reader") + (description + "Like the @code{BufRead} trait, the @code{BufferedReader} trait has an +internal buffer that is directly exposed to the user. This design enables two +performance optimizations. First, the use of an internal buffer amortizes +system calls. Second, exposing the internal buffer allows the user to work +with data in place, which avoids another copy.") + (license license:gpl3))) + (define-public rust-build-const-0.2 (package (name "rust-build-const") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0009-gnu-Add-rust-sequoia-rfc2822-0.9.patch >From bd626722974217684648400945f76ef514fe5cfa Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:07:16 -0700 Subject: [PATCH 09/89] gnu: Add rust-sequoia-rfc2822-0.9. * gnu/packages/crates-io.scm (rust-sequoia-rfc2822-0.9): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1ddcf108dd..a2b380a2ca 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24325,6 +24325,45 @@ comparison.") (base32 "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) +(define-public rust-sequoia-rfc2822-0.9 + (package + (name "rust-sequoia-rfc2822") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-rfc2822" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1aj34i6862718m162rqfv69fkmvdw063s6ws7hbp42n73gb08p5c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-failure" ,rust-failure-0.1) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.17)) + #:cargo-development-inputs + (("rust-lalrpop" ,rust-lalrpop-0.17) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-rand" ,rust-rand-0.4)))) + (home-page "https://sequoia-pgp.org/") + (synopsis "RFC 2822 name-addr parser") + (description + "Currently, this crate only recognizes the RFC 2822 name-addr and +addr-spec productions, i.e., things of the form: + +Name (Comment) + +and + +email@@example.org + +Although the above appear simple to parse, RFC 2822's whitespace and comment +rules are rather complex. This crate implements the whole grammar." ) + (license license:gpl3))) + (define-public rust-serde-1 (package (name "rust-serde") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0010-gnu-rust-nettle-sys-2-do-not-skip-build.patch >From 90b12c7f0bc5de6078265881e3302004c0896138 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 15:13:55 -0700 Subject: [PATCH 10/89] gnu: rust-nettle-sys-2: do not skip build. * gnu/packages/crates-io.scm (rust-nettle-2-sys): [arguments] Change cargo-development-inputs into cargo-inputs since they are required to build. Do not skip build. --- gnu/packages/crates-io.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a2b380a2ca..6637fd3bec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15899,8 +15899,7 @@ cryptographic library.") (inputs `(("nettle", nettle))) (arguments - `(#:skip-build? #t - #:cargo-development-inputs + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.51) ("rust-pkg-config" ,rust-pkg-config-0.3)))) (home-page "https://gitlab.com/sequoia-pgp/nettle-sys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0011-gnu-Add-rust-nettle-5.patch >From 9f4785dab206009add9ae4fce7f570dd028cc216 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 18 Jun 2020 14:50:52 -0700 Subject: [PATCH 11/89] gnu: Add rust-nettle-5. * gnu/packages/crates-io.scm (rust-nettle-5): New variable. --- gnu/packages/crates-io.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6637fd3bec..263af03b1b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15880,6 +15880,20 @@ types as proposed in RFC 1158.") cryptographic library.") (license (list license:lgpl3 license:gpl2 license:gpl3)))) +(define-public rust-nettle-5 + (package + (inherit rust-nettle-7) + (version "5.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "nettle" version)) + (file-name + (string-append (package-name rust-nettle-7) "-" version ".tar.gz")) + (sha256 + (base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4")) + (patches (search-patches "rust-nettle-disable-vendor.patch")))))) + (define-public rust-nettle-sys-2 (package (name "rust-nettle-sys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0012-gnu-Add-rust-sequoia-openpgp-0.9.patch >From 64d123cf4a162df28f51c6eaa1636476c8d98678 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:08:02 -0700 Subject: [PATCH 12/89] gnu: Add rust-sequoia-openpgp-0.9. * gnu/packages/crates-io.scm (rust-sequoia-openpgp-0.10): New variable. --- gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 263af03b1b..50a3b4d89a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24338,6 +24338,56 @@ comparison.") (base32 "18vhypw6zgccnrlm5ps1pwa0khz7ry927iznpr88b87cagr1v2iq")))))) +(define-public rust-sequoia-openpgp-0.9 + (package + (name "rust-sequoia-openpgp") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sequoia-openpgp" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "007h2pi7lcph5jf5bxjydm7hjwjai33yk6dic3cxknki22lxlkfw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-buffered-reader" ,rust-buffered-reader-0.9) + ("rust-bzip2" ,rust-bzip2-0.3) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-idna" ,rust-idna-0.1) + ("rust-lalrpop" ,rust-lalrpop-0.17) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-memsec" ,rust-memsec-0.5) + ("rust-nettle" ,rust-nettle-5) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-rand" ,rust-rand-0.4) + ("rust-safemem" ,rust-safemem-0.3) + ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9) + ("rust-time" ,rust-time-0.1)) + #:cargo-development-inputs + (("rust-lalrpop" ,rust-lalrpop-0.17) + ("rust-rpassword" ,rust-rpassword-4)))) + (home-page "https://sequoia-pgp.org/") + (synopsis + "OpenPGP data types and associated machinery") + (description + "This crate aims to provide a complete implementation of OpenPGP as +defined by RFC 4880 as well as some extensions (e.g., RFC 6637, which +describes ECC cryptography for OpenPGP. This includes support for unbuffered +message processing. + +A few features that the OpenPGP community considers to be deprecated (e.g., +version 3 compatibility) have been left out. We have also updated some +OpenPGP defaults to avoid foot guns (e.g., we selected modern algorithm +defaults). If some functionality is missing, please file a bug report." ) + (license license:gpl3))) + (define-public rust-sequoia-rfc2822-0.9 (package (name "rust-sequoia-rfc2822") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0013-gnu-Add-rust-libpijul-0.12.patch >From 4655a6c453255fc88a80439dfa1c947872c04113 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:11:21 -0700 Subject: [PATCH 13/89] gnu: Add rust-libpijul-0.12. * gnu/package/crates-io.scm (rust-libpijul-0.12): New variable. --- gnu/packages/crates-io.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 50a3b4d89a..d89a7ccada 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13714,6 +13714,63 @@ allocator.") (license (list license:asl2.0 license:expat)))) +(define-public rust-libpijul-0.12 + (package + (name "rust-libpijul") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libpijul" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18d9n8xaq5ncq3375f0xrr96l8si1frczgzdlrz3fl1jby8vbl6f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bincode" ,rust-bincode-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bs58" ,rust-bs58-0.2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-diffs" ,rust-diffs-0.3) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-hex" ,rust-hex-0.3) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.4) + ("rust-sanakirja" ,rust-sanakirja-0.10) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-toml" ,rust-toml-0.5)))) + (home-page "https://pijul.org/") + (synopsis + "Library component of the pijul version control system") + (description + "This crate contains the core API to access Pijul repositories. + +The key object is a @code{Repository}, on which @code{Txn} (immutable +transactions) and @code{MutTxn} (mutable transactions) can be started, to +perform a variety of operations. + +Another important object is a @code{Patch}, which encodes two different pieces +of information: + +@itemize +@item Information about deleted and inserted lines between two versions of a +file. +@item Information about file moves, additions and deletions. +@end itemize") + (license license:gpl2+))) + (define-public rust-libsqlite3-sys-0.15 (package (name "rust-libsqlite3-sys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0014-gnu-Add-rust-line-0.1.patch >From 1ab9009d2c789738ea8dfc8fc88256f56cabeb48 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:16:18 -0700 Subject: [PATCH 14/89] gnu: Add rust-line-0.1. * gnu/packages/crates-io.scm (rust-line-0.1): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d89a7ccada..8e0a9ce609 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13834,6 +13834,39 @@ known as zlib).") (license (list license:asl2.0 license:expat)))) +(define-public rust-line-0.1 + (package + (name "rust-line") + (version "0.1.15") + (source + (origin + (method url-fetch) + (uri (crate-uri "line" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pissvrl5398701zlfd22w51ca32vhw83vbsl58a330hr4w5ra04")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-utf8parse" ,rust-utf8parse-0.1)))) + (home-page "https://crates.io/crates/line") + (synopsis + "Rust implementation of line editing in a terminal") + (description + "The main goals of this library are: + +@itemize +@item Portability: should work on any system (Unix or Windows). +@item Support: was written for a real-world project (Pijul), so support is +unlikely to stop soon. +@item Output quality: avoid usual blinking terminal lines that older C +libraries have. +@end itemize") + (license (list license:asl2.0 license:expat)))) + (define-public rust-line-wrap-0.1 (package (name "rust-line-wrap") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0015-gnu-Add-rust-pathdiff-0.1.patch >From c1827c385fa5892d329e594c0e6f2b1f88eccdf5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:18:54 -0700 Subject: [PATCH 15/89] gnu: Add rust-pathdiff-0.1. * gnu/packages/crates-io.scm (rust-pathdiff-0.1): New variable. --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 8e0a9ce609..082b4de018 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18315,6 +18315,29 @@ and would-block I/O operations.") path.Clean.") (license (list license:expat license:asl2.0)))) +(define-public rust-pathdiff-0.1 + (package + (name "rust-pathdiff") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pathdiff" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3")))) + (build-system cargo-build-system) + (home-page + "https://github.com/Manishearth/pathdiff") + (synopsis + "Library for diffing paths to obtain relative paths") + (description + "Use diff_paths to construct a relative path from a provided base +directory path to the provided path.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pbkdf2-0.4 (package (name "rust-pbkdf2") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0016-gnu-Add-rust-progrs-0.1.patch >From 00653952ed88d2a7022034cf700a6c6a7d5a4e9f Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:21:43 -0700 Subject: [PATCH 16/89] gnu: Add rust-progrs-0.1. * gnu/packages/crates-io.scm (rust-progrs-0.1): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 082b4de018..82e2f80f15 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19969,6 +19969,39 @@ macro use case.") @code{proc_macro_derive} pretend to be @code{proc_macro}.") (license (list license:expat license:asl2.0)))) +(define-public rust-progrs-0.1 + (package + (name "rust-progrs") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "progrs" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "108jx8jrv2r1brhvbqfw6fwx298k5fnw3m46kn7lv0jx2wmf0ifz")))) + (build-system cargo-build-system) + (home-page + "https://nest.pijul.com/laumann/progrs") + (synopsis + "A small library for displaying compact progress bars") + (description + "There are a number of libraries out there that can be used for progress +display, but in the author's opinion these libraries do it almost right - +either they eat up too much screen real estate (by not sticking to one line +per thing that should use progress) or they try to align stuff left and right. + +In the author's humble opinion, the best example of just the right amount of +information vs screen real-estate is in the Git progress output (when cloning, +pulling, etc). It uses one line per thing, and may display both percentage +complete (in cases where it's known) and even throughput (for network +transfer). + +This library mimics the Git way of showing progress.") + (license license:gpl2+))) + (define-public rust-proptest-0.9 (package (name "rust-proptest") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0017-gnu-Add-rust-rpassword-2.1.0.patch >From dd6f00c27b2bd5996873a02b4645fc3df760c8b5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:24:13 -0700 Subject: [PATCH 17/89] gnu: Add rust-rpassword-2.1.0. * gnu/packages/crates-io.scm (rust-rpassword-2.1.0): New variable. --- gnu/packages/crates-io.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82e2f80f15..b099399ff0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22414,6 +22414,21 @@ rust.") console applications.") (license license:asl2.0))) +(define-public rust-rpassword-2.1.0 + (package + (inherit rust-rpassword-4) + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rpassword" version)) + (file-name + (string-append + (package-name rust-rpassword-4) "-" version ".tar.gz")) + (sha256 + (base32 + "1v255xqkig5lwnczvm3achydhxx6kf9jcdxdlgzndgpd18bp6x6k")))))) + (define-public rust-rusqlite-0.19 (package (name "rust-rusqlite") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0018-gnu-Add-rust-cookie-0.12.patch >From 2391088c2fa36a8b1489408319fd19c399497367 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:33:19 -0700 Subject: [PATCH 18/89] gnu: Add rust-cookie-0.12. * gnu/packages/crates-io.scm (rust-cookie-0.12): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b099399ff0..20d541a377 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4529,6 +4529,35 @@ It is inspired by the Linux kernel's @code{crypto_memneq}.") semantics than those provided by @code{as} or @code{From}/@code{Into}.") (license license:expat))) +(define-public rust-cookie-0.12 + (package + (name "rust-cookie") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mdvqixahcywvqp0y8k2skkgbpfhsp0w73l9mz93dcrx1gq091l8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.1) + ("rust-url" ,rust-url-1)))) + (home-page + "https://github.com/SergioBenitez/cookie-rs") + (synopsis + "Crate for parsing HTTP cookie headers and managing a cookie jar") + (description + "Parse HTTP cookie headers and manage a cookie jar with this crate. +It supports signed and private (encrypted + signed) jars.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-cordic-0.1 (package (name "rust-cordic") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0019-gnu-Add-rust-cookie-store-0.7.patch >From 0f10a63244e401b49fad9eb8dc9918252037f9dc Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:42:35 -0700 Subject: [PATCH 19/89] gnu: Add rust-cookie-store-0.7. * gnu/packages/crates-io.scm (rust-cookie-store-0.7): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 20d541a377..263348a8db 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4558,6 +4558,46 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.") It supports signed and private (encrypted + signed) jars.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cookie-store-0.7 + (package + (name "rust-cookie-store") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie-store" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "174i9k9g62pfx7y1nqynywdpjplkl3j4hi3ck6bz2r996qzhnxa6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cookie" ,rust-cookie-0.12) + ("rust-idna" ,rust-idna-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-publicsuffix" ,rust-publicsuffix-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.1) + ("rust-try-from" ,rust-try-from-0.3) + ("rust-url" ,rust-url-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-pretty-assertions" + ,rust-pretty-assertions-0.6)))) + (home-page + "https://github.com/pfernie/cookie_store") + (synopsis + "Implementation of Cookie storage and retrieval per RFC6265") + (description + "This crate provides an implementation for storing and retrieving Cookies per +the path and domain matching rules specified in RFC6265. + +Split from the user_agent crate.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-cordic-0.1 (package (name "rust-cordic") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0020-gnu-Add-rust-hyper-old-types-0.11.patch >From d6088ec44026ef916b3cceda50611821db004aff Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 16:47:23 -0700 Subject: [PATCH 20/89] gnu: Add rust-hyper-old-types-0.11. * gnu/packages/crates-io.scm (rust-hyper-old-types-0.11): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 263348a8db..52d7e237b0 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11890,6 +11890,40 @@ SystemTime}}.") ("rust-tokio-mockstream" ,rust-tokio-mockstream-1) ("rust-url" ,rust-url-1)))))) +(define-public rust-hyper-old-types-0.11 + (package + (name "rust-hyper-old-types") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-old-types" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i69sks0bwamzqdbx8ffgkssxffv6crdmwjgl47nr5pkxi8vx5k8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests do not compile + #:cargo-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-http" ,rust-http-0.1) + ("rust-httparse" ,rust-httparse-1) + ("rust-language-tags" ,rust-language-tags-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-percent-encoding" ,rust-percent-encoding-1.0) + ("rust-time" ,rust-time-0.1) + ("rust-unicase" ,rust-unicase-2)))) + (home-page "https://hyper.rs") + (synopsis "HTTP types from hyper 0.11.x") + (description + "This package contains HTTP types from the newer hyper crate in versions +0.11.x.") + (license license:expat))) + (define-public rust-hyper-rustls-0.21 (package (name "rust-hyper-rustls") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0021-gnu-Add-rust-socks-0.3.patch >From b061348f666373ba900942a415f916f0f29fbd5a Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 17:14:20 -0700 Subject: [PATCH 21/89] gnu: Add rust-socks-0.3. * gnu/packages/crates-io.scm (rust-socks-0.3): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 52d7e237b0..c4b776945a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26225,6 +26225,33 @@ maximal amount of configuration possible intended.") (license (list license:asl2.0 license:expat)))) +(define-public rust-socks-0.3 + (package + (name "rust-socks") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "socks" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hnbw4c4j7dn9n3bd1v7ddkdzlxlzkfw3z29da1nxlj6jgx4r9p6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))) + (home-page + "https://github.com/sfackler/rust-socks") + (synopsis "Rust SOCKS proxy clients") + (description + "You can write SOCKS proxy clients with this crate.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-sourcefile-0.1 (package (name "rust-sourcefile") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0022-gnu-Add-rust-trust-dns-rustls-0.6.patch >From b661575c6ec78bf7d20f720f880f5f9e6768bb05 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 17:32:40 -0700 Subject: [PATCH 22/89] gnu: Add rust-trust-dns-rustls-0.6. * gnu/packages/crates-io.scm (rust-trust-dns-rustls-0.6): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c4b776945a..c2f6d0daf1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30527,6 +30527,45 @@ other queries.") extension for the Trust-DNS client to use rustls for TLS.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-rustls-0.6 + (package + (inherit rust-trust-dns-rustls-0.19) + (name "rust-trust-dns-rustls") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vbh2y7w2s5gcw33fn4hb5f927kgjm6603vw63slg9riikmsiq43")))) + (native-inputs + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=tests::test_tls_client_stream_ipv4") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) + ("rust-webpki" ,rust-webpki-0.19)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))))) + (define-public rust-try-from-0.3 (package (name "rust-try-from") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0023-gnu-Add-rust-tracing-log-0.1.patch >From b7e19f013e98b3771c01fa11a98d3fdbb2524224 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 17:54:28 -0700 Subject: [PATCH 23/89] gnu: Add rust-tracing-log-0.1. * gnu/packages/crates-io.scm (rust-tracing-log-0.1): New variable. --- gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c2f6d0daf1..1f25e9b90d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30270,6 +30270,48 @@ automatically instrumenting functions.") @code{futures} with @code{tracing}.") (license license:expat))) +(define-public rust-tracing-log-0.1 + (package + (name "rust-tracing-log") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-log" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qsinlbk2knrqgx1k2zq8kjxs71x44vzpma2rin1sm462agcjav5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-log" ,rust-log-0.4) + ("rust-tracing-core" ,rust-tracing-core-0.1)) + #:cargo-development-inputs + (("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://tokio.rs") + (synopsis + "Provides compatibility between tracing the log crates") + (description + "Tracing is a framework for instrumenting Rust programs with +context-aware, structured, event-based diagnostic information. This crate +provides compatibility layers for using tracing alongside the logging facade +provided by the log crate. + +This crate provides: + +@itemize +@item @code{AsTrace} and @code{AsLog} traits for converting between tracing +and log types. +@item @code{LogTracer}, a @code{log::Log} implementation that consumes +@code{log::Records} and outputs them as @code{tracing::Events}. +@item An @code{env_logger} module, with helpers for using the env_logger crate +with tracing (optional, enabled by the env-logger feature). +@end itemize") + (license license:expat))) + (define-public rust-traitobject-0.1 (package (name "rust-traitobject") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0024-gnu-Add-rust-matchers-0.0.patch >From f0fea95e303a451740da11d89470b12926b7672d Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:51:44 -0700 Subject: [PATCH 24/89] gnu: Add rust-matchers-0.0. * gnu/package/crates-io.scm (rust-matchers-0.0): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1f25e9b90d..9357698cda 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14732,6 +14732,32 @@ statement, the first matching branch is the item that gets emitted.") whether an expression matches a pattern.") (license license:expat))) +(define-public rust-matchers-0.0 + (package + (name "rust-matchers") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "matchers" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1q8ckqmkjqkznvdi9x0z769yz2bmvlqcwx51ad2lpk4mfmgpi6gh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-regex-automata" ,rust-regex-automata-0.1)))) + (home-page "https://github.com/hawkw/matchers") + (synopsis + "Regex matching on character and byte streams") + (description + "Use this crate to match on character and byte streams using regular +grammars. It provides the subset of the regex crate that only deals with +matching, not parsing substrings.") + (license license:expat))) + (define-public rust-matrixmultiply-0.2 (package (name "rust-matrixmultiply") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0025-gnu-Add-rust-tracing-subscriber-0.1.patch >From 538a78dabed6b9c4f0229ee86c31b609f3515487 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 17:55:40 -0700 Subject: [PATCH 25/89] gnu: Add rust-tracing-subscriber-0.1. * gnu/packages/crates-io.scm (rust-tracing-subscriber-0.1): New variable. --- gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9357698cda..e81025a394 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30338,6 +30338,54 @@ with tracing (optional, enabled by the env-logger feature). @end itemize") (license license:expat))) +(define-public rust-tracing-subscriber-0.1 + (package + (name "rust-tracing-subscriber") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-subscriber" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bn6911zky2wg8ndvrj38v02hml0hpk0g49h0d3kf52klxqiffy6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.11) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-matchers" ,rust-matchers-0.0) + ("rust-owning-ref" ,rust-owning-ref-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.9) + ("rust-regex" ,rust-regex-1) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-log" ,rust-tracing-log-0.1)))) + (home-page "https://tokio.rs") + (synopsis + "Implement and compose tracing subscribers") + (description + "Utilities for implementing and composing tracing subscribers. + +Tracing is a framework for instrumenting Rust programs to collect +scoped, structured, and async-aware diagnostics. The Subscriber trait +represents the functionality necessary to collect this trace +data. This crate contains tools for composing subscribers out of +smaller units of behaviour, and batteries-included implementations of +common subscriber functionality. + +Tracing-subscriber is intended for use by both Subscriber authors and +application authors using tracing to instrument their applications.") + (license license:expat))) + (define-public rust-traitobject-0.1 (package (name "rust-traitobject") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0026-gnu-Add-rust-tracing-fmt-0.1.patch >From 9158c5d5b8b61f3147beb67ff4f2192a49f06ae2 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 17:56:22 -0700 Subject: [PATCH 26/89] gnu: Add rust-tracing-fmt-0.1. * gnu/packages/crates-io.scm (rust-tracing-fmt-0.1): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e81025a394..24ba054114 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30296,6 +30296,33 @@ automatically instrumenting functions.") @code{futures} with @code{tracing}.") (license license:expat))) +(define-public rust-tracing-fmt-0.1 + (package + (name "rust-tracing-fmt") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-fmt" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wagcrd6w8d3k7zdvg6sy2bwfh8w87i6ndia69p54fc7p3z4f1c8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-tracing-subscriber" ,rust-tracing-subscriber-0.1)) + #:cargo-development-inputs + (("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://tokio.rs") + (synopsis + "Tracing subscriber that formats and logs trace data") + (description + "This package provides a tracing subscriber that formats and logs trace +data. Moved to the tracing-subscriber crate.") + (license license:expat))) + (define-public rust-tracing-log-0.1 (package (name "rust-tracing-log") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0027-gnu-Add-rust-tokio-net-0.2.patch >From 472283588860dbfd69bd72df9cf477458d17b1d6 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 17:59:45 -0700 Subject: [PATCH 27/89] gnu: Add rust-tokio-net-0.2. * gnu/packages/crates-io.scm (rust-tokio-net-0.2): New variable. --- gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 24ba054114..f2390f996b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29413,6 +29413,55 @@ applications backed by buffers.") Tokio.") (license (list license:expat license:asl2.0)))) +(define-public rust-tokio-net-0.2 + (package + (name "rust-tokio-net") + (version "0.2.0-alpha.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-net" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15vm0bndn6zcpkp1yb6v736rbhqgim5skc76rz299xd3y0pr249a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6) + ("rust-futures-core-preview" + ,rust-futures-core-preview-0.3) + ("rust-futures-sink-preview" + ,rust-futures-sink-preview-0.3) + ("rust-futures-util-preview" + ,rust-futures-util-preview-0.3) + ("rust-iovec" ,rust-iovec-0.1) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-0.6) + ("rust-mio-named-pipes" ,rust-mio-named-pipes-0.1) + ("rust-mio-uds" ,rust-mio-uds-0.6) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.8) + ("rust-signal-hook-registry" + ,rust-signal-hook-registry-1) + ("rust-slab" ,rust-slab-0.4) + ("rust-tokio-codec" ,rust-tokio-codec-0.1) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-sync" ,rust-tokio-sync-0.1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://tokio.rs") + (synopsis + "Event loop that drives Tokio I/O resources") + (description + "This package provides the event loop that drives Tokio I/O resources.") + (license license:expat))) + (define-public rust-tokio-openssl-0.4 (package (name "rust-tokio-openssl") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0028-gnu-Add-rust-trust-dns-resolver-0.11.patch >From 37c8bc975213e8e33d057f43df6a0cffea5c53e5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:02:30 -0700 Subject: [PATCH 28/89] gnu: Add rust-trust-dns-resolver-0.11. * gnu/packages/crates-io.scm (rust-trust-dns-resolver-0.11): New variable. --- gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f2390f996b..030e5e1045 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30719,6 +30719,56 @@ other queries.") extension for the Trust-DNS client to use rustls for TLS.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-resolver-0.11 + (package + (inherit rust-trust-dns-resolver-0.19) + (name "rust-trust-dns-resolver") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-resolver" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fd0w2zsdwlsag27fsg0fzyd7j7niw0r22rwh2c5fdmsipjr56bc")))) + (arguments + `(#:tests? #f ; Tests require network access + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-ipconfig" ,rust-ipconfig-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-resolv-conf" ,rust-resolv-conf-0.6) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-tls" ,rust-tokio-tls-0.1) + ("rust-tokio-udp" ,rust-tokio-udp-0.1) + ("rust-trust-dns-https" ,rust-trust-dns-https-0.3) + ("rust-trust-dns-native-tls" ,rust-trust-dns-native-tls-0.6) + ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.6) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.6) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)))))) + (home-page "http://www.trust-dns.org/index.html") + (synopsis + "Trust-DNS is a safe and secure DNS library") + (description + "Trust-DNS is a safe and secure DNS library. This Resolver library uses +the Client library to perform all DNS queries. The Resolver is intended to be +a high-level library for any DNS record resolution see Resolver and +AsyncResolver for supported resolution types. The Client can be used for +other queries.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-trust-dns-rustls-0.6 (package (inherit rust-trust-dns-rustls-0.19) -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0029-gnu-Add-rust-shell-escape-0.1.patch >From 0d35b70f0ed3bc1574fd27dc6bbd79e7a7eb39c6 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:05:58 -0700 Subject: [PATCH 29/89] gnu: Add rust-shell-escape-0.1. * gnu/packages/crates-io.scm (rust-shell-escape-0.1): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 030e5e1045..e4f6c41822 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25770,6 +25770,28 @@ picking compatible shaders.") "This package allows easy binding to, and loading of, shared libraries.") (license (list license:asl2.0 license:expat)))) +(define-public rust-shell-escape-0.1 + (package + (name "rust-shell-escape") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "shell-escape" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fgs1iyx3b124b7njjmhfn9q5ipmhxrafavh8mxbfl9a9zk162hp")))) + (build-system cargo-build-system) + (home-page + "https://github.com/sfackler/shell-escape") + (synopsis + "Escape characters that may have a special meaning in a shell") + (description + "Escape characters that may have a special meaning in a shell.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-shell-words-0.1 (package (name "rust-shell-words") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0030-gnu-Add-rust-thrussh-libsodium-0.1.patch >From 740e333900b6b3b707d359b844fdd32d4766be45 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:08:39 -0700 Subject: [PATCH 30/89] gnu: Add rust-thrussh-libsodium-0.1. * gnu/packages/crates-io.scm (rust-thrussh-libsodium-0.1): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e4f6c41822..6dcdb45b22 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28782,6 +28782,32 @@ fixed set of worker threads.") (license (list license:asl2.0 license:expat)))) +(define-public rust-thrussh-libsodium-0.1 + (package + (name "rust-thrussh-libsodium") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-libsodium" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fjssjiwnmbxjvajk37l7k0fcw1ys97j7n8bpn3q3bbnz2qfrphv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page + "https://nest.pijul.com/pijul_org/thrussh") + (synopsis + "Straightforward bindings to libsodium") + (description + "You can bind to libsodium from Rust with this crate.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-time-0.2 (package (name "rust-time") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0031-gnu-Add-rust-yasna-0.1.patch >From 7fa05757a55b2341e14ab98e827f92b005f0aec5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:14:33 -0700 Subject: [PATCH 31/89] gnu: Add rust-yasna-0.1. * gnu/packages/crates-io.scm (rust-yasna-0.1): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6dcdb45b22..662adcb7bd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33544,6 +33544,35 @@ Read/Write streams as well as low-level in-memory encoding and decoding.") (("rust-clippy" ,rust-clippy-0.0) ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)))))) +(define-public rust-yasna-0.1 + (package + (name "rust-yasna") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "yasna" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1frcd79rzi6dlly7lldjn2avnhfmj6yxrjsgvb2p1k2zbxdzyc9s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bit-vec" ,rust-bit-vec-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-num" ,rust-num-0.1) + ("rust-num-bigint" ,rust-num-bigint-0.1)) + #:cargo-development-inputs + (("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/qnighy/yasna.rs") + (synopsis "ASN.1 library for Rust") + (description + "To serialize ASN.1 data, you can use @code{construct_der}. +To deserialize ASN.1 data, you can use parse_ber or @code{parse_der}." ) + (license (list license:asl2.0 license:expat)))) + (define-public rust-zbase32-0.1 (package (name "rust-zbase32") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0032-gnu-Add-rust-thrussh-keys-0.11.patch >From d19affd78fa5eca4968b648a51a31643e5251f03 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:16:52 -0700 Subject: [PATCH 32/89] gnu: Add rust-thrussh-keys-0.11. * gnu/packages/crates-io.scm (rust-thrussh-keys-0.11): New variable. --- gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 662adcb7bd..5bebc6362a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28782,6 +28782,51 @@ fixed set of worker threads.") (license (list license:asl2.0 license:expat)))) +(define-public rust-thrussh-keys-0.11 + (package + (name "rust-thrussh-keys") + (version "0.11.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-keys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rkhkkav9kv1q9lgxgydnrkniq4ccrf107lcygimralnkwyzjwjy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bit-vec" ,rust-bit-vec-0.4) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cryptovec" ,rust-cryptovec-0.4) + ("rust-dirs" ,rust-dirs-2.0) + ("rust-futures" ,rust-futures-0.1) + ("rust-hex" ,rust-hex-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.1) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-thrussh-libsodium" + ,rust-thrussh-libsodium-0.1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-yasna" ,rust-yasna-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-tokio-uds" ,rust-tokio-uds-0.2)))) + (home-page "https://pijul.org/thrussh/") + (synopsis + "Deal with SSH keys in Rust") + (description + "This package provides a rust library to deal with SSH keys. +With it you can load them, decrypt them, and call an SSH agent.") + (license license:asl2.0))) + (define-public rust-thrussh-libsodium-0.1 (package (name "rust-thrussh-libsodium") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0033-gnu-Add-rust-thrussh-0.21.patch >From 3505501e0a4e60c6248d8fe45837722f0c62e039 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:18:13 -0700 Subject: [PATCH 33/89] gnu: Add rust-thrussh-0.21. * gnu/packages/crates-io.scm (rust-thrussh-0.21): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5bebc6362a..663ff9fe4e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28782,6 +28782,41 @@ fixed set of worker threads.") (license (list license:asl2.0 license:expat)))) +(define-public rust-thrussh-0.21 + (package + (name "rust-thrussh") + (version "0.21.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0k8ah3kx8q6vnkq3hi78s8acxdcws6yck0x989xzx2wi89nqflhl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cryptovec" ,rust-cryptovec-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.11) + ("rust-thrussh-libsodium" + ,rust-thrussh-libsodium-0.1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6)))) + (home-page "https://pijul.org/thrussh/") + (synopsis "Client and server SSH library in Rust") + (description + "This package provides a client and server SSH library.") + (license license:asl2.0))) + (define-public rust-thrussh-keys-0.11 (package (name "rust-thrussh-keys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0034-gnu-Add-rust-thrussh-config-0.2.patch >From ecab2124be390f71c38be93d9fd729cedc4888f6 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:19:52 -0700 Subject: [PATCH 34/89] gnu: Add rust-thrussh-config-0.2. * gnu/packages/crates-io.scm (rust-thrussh-config-0.2): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 663ff9fe4e..897d69127d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28817,6 +28817,38 @@ fixed set of worker threads.") "This package provides a client and server SSH library.") (license license:asl2.0))) +(define-public rust-thrussh-config-0.2 + (package + (name "rust-thrussh-config") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-config" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h19qysnbdvv6z2y3ii3cxqn42yvjg73wnghx83kbwj6af6chryb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dirs" ,rust-dirs-2.0) + ("rust-futures" ,rust-futures-0.1) + ("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-thrussh" ,rust-thrussh-0.21) + ("rust-tokio" ,rust-tokio-0.1)))) + (home-page + "https://nest.pijul.com/pijul_org/thrussh") + (synopsis + "Utilities to parse .ssh/config files, including helpers") + (description + "This package contains utilities to parse .ssh/config files, +including helpers to implement ProxyCommand in Thrussh.") + (license license:asl2.0))) + (define-public rust-thrussh-keys-0.11 (package (name "rust-thrussh-keys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0035-gnu-Add-rust-advapi32-sys-0.2.patch >From 66ce53f02d2b5609a5ae935f299e838217f8bccc Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:55:46 -0700 Subject: [PATCH 35/89] gnu: Add rust-advapi32-sys-0.2. * gnu/package/crates-io.scm (rust-advapi32-sys-0.2): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 897d69127d..42bc949d77 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -185,6 +185,34 @@ the Rust programming language.") (license (list license:bsd-3 license:zlib)))) +(define-public rust-advapi32-sys-0.2 + (package + (name "rust-advapi32-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "advapi32-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16largvlrd1800vvdchml0ngnszjlnpqm01rcz5hm7di1h48hrg0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-winapi-build" ,rust-winapi-build-0.1)))) + (home-page + "https://github.com/retep998/winapi-rs") + (synopsis + "Contains function definitions for the Windows API library advapi32") + (description + "Contains function definitions for the Windows API library advapi32. +The winapi crate's types and constants has more details about this API.") + (license license:expat))) + (define-public rust-aead-0.3 (package (name "rust-aead") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0036-gnu-Add-rust-username-0.2.patch >From 155cf038f2a12195a9c66387bc1c2aa645c53452 Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:23:06 -0700 Subject: [PATCH 36/89] gnu: Add rust-username-0.2. * gnu/packages/crates-io.scm (rust-username-0.2): New variable. --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 42bc949d77..65e87ae896 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31797,6 +31797,32 @@ untrusted inputs in Rust.") See winapi for types and constants.") (license license:expat))) +(define-public rust-username-0.2 + (package + (name "rust-username") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "username" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "028s7gpsz17z6chy818bpkxldixfxhlvicvyvhdbrxr7cpgjbr4j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-advapi32-sys" ,rust-advapi32-sys-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://crates.io/crates/username") + (synopsis + "Portably retrieve the username of the user running the current thread") + (description + "Portably retrieve the user name (and possibly other information in +future versions) of the user running the current thread.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-users-0.10 (package (name "rust-users") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0037-gnu-Add-rust-ct-logs-0.6.patch >From aa24a4a2cb0b78c530f0924e81106af13904e71e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 20 Oct 2020 12:14:44 -0700 Subject: [PATCH 37/89] gnu: Add rust-ct-logs-0.6. * gnu/packages/crates-io.scm (rust-ct-logs-0.6): New variable. * gnu/packages/crates-io.scm (rust-ct-logs-0.3): Inherit from rust-ct-logs-0.6. --- gnu/packages/crates-io.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 65e87ae896..0c937fdd5f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5809,10 +5809,26 @@ reallocations.") Transparency logs for use with sct crate.") (license (list license:asl2.0 license:isc license:expat)))) -(define-public rust-ct-logs-0.3 +(define-public rust-ct-logs-0.6 (package (inherit rust-ct-logs-0.7) (name "rust-ct-logs") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ct-logs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04wiwiv4ghni3x2vni3z711mlz0ndqvh04vmdkbw3nr7zbsqcdjd")))) + (arguments + `(#:cargo-inputs (("rust-sct" ,rust-sct-0.6)))))) + +(define-public rust-ct-logs-0.3 + (package + (inherit rust-ct-logs-0.6) + (name "rust-ct-logs") (version "0.3.0") (source (origin -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0038-gnu-Add-rust-tokio-rustls-0.10.patch >From 220aa4c868cb48c8fb5566baff2ceabe3fb567c5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 20 Oct 2020 12:30:15 -0700 Subject: [PATCH 38/89] gnu: Add rust-tokio-rustls-0.10. * gnu/packages/crates-io.scm (rust-tokio-rustls-0.10): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0c937fdd5f..02c7fa1982 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29860,6 +29860,36 @@ using Rustls.") ("rust-webpki-roots" ,rust-webpki-roots-0.18)))) (license (list license:expat license:asl2.0)))) +(define-public rust-tokio-rustls-0.10 + (package + (inherit rust-tokio-rustls-0.12) + (name "rust-tokio-rustls") + (version "0.10.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xh6gxilm7waj55rxfgqmvl8abynzr3ang57qvbap400k67z0z1d")))) + (arguments + `(;; These tests require network access. + #:cargo-test-flags + '("--release" + "--" "--skip=test_badssl" "--skip=tls12" "--skip=modern") + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) + (define-public rust-tokio-signal-0.2 (package (name "rust-tokio-signal") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0039-gnu-Add-rust-hyper-rustls-0.17.patch >From 3c32566cf3bbff03dc0723862740a1e25f5d90c9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 20 Oct 2020 12:36:23 -0700 Subject: [PATCH 39/89] gnu: Add rust-hyper-rustls-0.17. * gnu/packages/crates-io.scm (rust-hyper-rustls-0.17): New variable. --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 02c7fa1982..c3b78967d9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -12003,6 +12003,36 @@ HTTPS.") (license (list license:asl2.0 license:isc license:expat)))) +(define-public rust-hyper-rustls-0.17 + (package + (inherit rust-hyper-rustls-0.21) + (name "rust-hyper-rustls") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0li9xkzmqd40dbjbl9g0nbf2ka9y0q538ififyd30zsavz3qb7bi")))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" "--skip=custom_ca_store" "--skip=client" "--skip=server") + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-ct-logs" ,rust-ct-logs-0.6) + ("rust-futures" ,rust-futures-0.1) + ("rust-hyper" ,rust-hyper-0.12) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.10) + ("rust-webpki" ,rust-webpki-0.21) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.2)))))) + (define-public rust-hyper-tls-0.4 (package (name "rust-hyper-tls") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0040-gnu-Add-rust-serde-urlencoded-0.5.patch >From a6ca279971daf9db9d04cbebacdc4b9365ca4e4e Mon Sep 17 00:00:00 2001 From: John Soo Date: Tue, 20 Oct 2020 12:42:11 -0700 Subject: [PATCH 40/89] gnu: Add rust-serde-urlencoded-0.5. * gnu/packages/crates-io.scm (rust-serde-urlencoded-0.5): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c3b78967d9..9fca3ac71f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25309,6 +25309,28 @@ for the serde framework.") (description "x-www-form-urlencoded meets serde.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-urlencoded-0.5 + (package + (inherit rust-serde-urlencoded-0.6) + (name "rust-serde-urlencoded") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_urlencoded" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nhnzllx5xrij4x17g351n14md691r95mxr7sbpz4sl80n8xcbb4")))) + (arguments + `(#:cargo-inputs + (("rust-dtoa" ,rust-dtoa-0.4) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-url" ,rust-url-1)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1)))))) + (define-public rust-serde-yaml-0.8 (package (name "rust-serde-yaml") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0041-gnu-Add-rust-openssl-0.9.patch >From b8c09483e70866cfe6990121e63fb2d828f30ca9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 07:09:20 -0700 Subject: [PATCH 41/89] gnu: Add rust-openssl-0.9. * gnu/packages/crates-io.scm (rust-openssl-0.9): New variable. * gnu/packages/crates-io.scm (rust-openssl-0.7): Inherit from rust-openssl-0.9. --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9fca3ac71f..be7ac76140 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17615,10 +17615,39 @@ You probably don't want to link to this crate directly; instead check out the (description "OpenSSL bindings.") (license license:asl2.0))) -(define-public rust-openssl-0.7 +(define-public rust-openssl-0.9 (package (inherit rust-openssl-0.10) (name "rust-openssl") + (version "0.9.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "openssl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "11br5b8x1kc5klsn50ihiml82ajyzcwi3lljvrlsm8vlhhlmqq53")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-0.9) + ("rust-foreign-types" ,rust-foreign-types-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-openssl-sys" ,rust-openssl-sys-0.9)) + #:cargo-development-inputs + (("rust-data-encoding" ,rust-data-encoding-2) + ("rust-hex" ,rust-hex-0.2) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-winapi" ,rust-winapi-0.2) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))))) + +(define-public rust-openssl-0.7 + (package + (inherit rust-openssl-0.9) + (name "rust-openssl") (version "0.7.14") (source (origin -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0042-gnu-Add-rust-core-foundation-sys-0.2.patch >From ef9fed56058d08af74bf9eb790051e7aaff36eb1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 07:32:32 -0700 Subject: [PATCH 42/89] gnu: Add rust-core-foundation-sys-0.2. * gnu/packages/crates-io.scm (rust-core-foundation-sys-0.2): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index be7ac76140..e9012df979 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4821,6 +4821,24 @@ macOS.") (base32 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7")))))) +(define-public rust-core-foundation-sys-0.2 + (package + (inherit rust-core-foundation-sys-0.6) + (name "rust-core-foundation-sys") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation-sys" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-core-text-13 (package (name "rust-core-text") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0043-WIP-gnu-Add-rust-core-foundation-0.2.patch >From c3ef2484a7f7c4953b59449a10e38095360ec9b8 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 07:34:59 -0700 Subject: [PATCH 43/89] [WIP] gnu: Add rust-core-foundation-0.2. * gnu/packages/crates-io.scm (rust-core-foundation-0.2): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e9012df979..5ed77561c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4787,6 +4787,26 @@ macOS.") ("rust-libc" ,rust-libc-0.2) ("rust-uuid" ,rust-uuid-0.5)))))) +(define-public rust-core-foundation-0.2 + (package + (inherit rust-core-foundation-0.6) + (name "rust-core-foundation") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "core-foundation" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5")))) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) + ("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-core-foundation-sys-0.7 (package (name "rust-core-foundation-sys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0044-gnu-Add-rust-security-framework-sys-0.1.patch >From 4a24c4959b11c2369207f5431847dbc8b3322982 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 07:40:20 -0700 Subject: [PATCH 44/89] gnu: Add rust-security-framework-sys-0.1. * gnu/packages/crates-io.scm (rust-security-framework-sys-0.1): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5ed77561c9..ea37bfa0c9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24612,6 +24612,25 @@ macOS and iOS.") (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-security-framework-sys-0.1 + (package + (inherit rust-security-framework-sys-0.2) + (name "rust-security-framework-sys") + (version "0.1.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bdy87gvmahiiyfzghsdg2dkhznww3p3d3r676qs0y32hcg648al")))) + (arguments + `(#:skip-build? #t ; MacOS specific + #:cargo-inputs + (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) + ("rust-libc" ,rust-libc-0.2)))))) + (define-public rust-selectors-0.22 (package (name "rust-selectors") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0045-gnu-Add-rust-security-framework-0.1.patch >From 272d6eb053386ccbbc0afa132b459f78d45ef391 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 07:42:28 -0700 Subject: [PATCH 45/89] gnu: Add rust-security-framework-0.1. * gnu/packages/crates-io.scm (rust-security-framework-0.1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ea37bfa0c9..f7623b40c8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24553,6 +24553,34 @@ macOS and iOS.") (("rust-hex" ,rust-hex-0.3) ("rust-tempdir" ,rust-tempdir-0.3)))))) +(define-public rust-security-framework-0.1 + (package + (inherit rust-security-framework-0.2) + (name "rust-security-framework") + (version "0.1.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "security-framework" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ci39ax08h2ngrl1yf1ra9smivhjs6xarmg7kp6fxracqpllx96z")))) + (arguments + `(#:skip-build? #t ; MacOS specific + #:cargo-inputs + (("rust-core-foundation" + ,rust-core-foundation-0.2) + ("rust-core-foundation-sys" + ,rust-core-foundation-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-security-framework-sys" + ,rust-security-framework-sys-0.1)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.2) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + (define-public rust-security-framework-sys-1 (package (name "rust-security-framework-sys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0046-WIP-gnu-Add-rust-native-tls-0.1.patch >From ffacac3352a92e17731345984a737432ac5d4ecf Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 07:48:00 -0700 Subject: [PATCH 46/89] [WIP] gnu: Add rust-native-tls-0.1. * gnu/packages/crates-io.scm (rust-native-tls-0.1): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f7623b40c8..fe42e8a88d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -16121,6 +16121,39 @@ IO of Windows's named pipes.") "This package provides a wrapper over a platform's native TLS implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-native-tls-0.1 + (package + (inherit rust-native-tls-0.2) + (name "rust-native-tls") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "native-tls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h7v80nlskyr7b1gsg4ivlpm6pilj6ybgvcwadj7ips3igfblkgp")))) + (arguments + `(#:skip-build? #t ; openssl? + #:tests? #f ; tests require network access + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-openssl" ,rust-openssl-0.9) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" ,rust-security-framework-0.1) + ("rust-security-framework-sys" ,rust-security-framework-sys-0.1) + ("rust-tempdir" ,rust-tempdir-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))))) + (define-public rust-natord-1.0 (package (name "rust-natord") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0047-gnu-Add-rust-slab-0.3.patch >From ad222d6cc5a8d8883f1cd789e9542ba42e67466b Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:01:14 -0700 Subject: [PATCH 47/89] gnu: Add rust-slab-0.3. * gnu/packages/crates-io.scm (rust-slab-0.3): New variable. --- gnu/packages/crates-io.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fe42e8a88d..99bcb96c36 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26356,6 +26356,23 @@ variants in pure Rust.") data type.") (license license:expat))) +(define-public rust-slab-0.3 + (package + (inherit rust-slab-0.4) + (name "rust-slab") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "slab" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "08xw8w61zdfn1094qkq1d554vh5wmm9bqdys8gqqxc4sv2pgrd0p")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=test_capacity_too_large1"))))) + (define-public rust-sleef-sys-0.1 (package (name "rust-sleef-sys") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0048-gnu-Add-rust-smallvec-0.2.patch >From 56e3f7943ae6ff9ee2494667fc5bcdad01f552d7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:05:05 -0700 Subject: [PATCH 48/89] gnu: Add rust-smallvec-0.2. * gnu/packages/crates-io.scm (rust-smallvec-0.2): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 99bcb96c36..b02fcbfdb7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26503,6 +26503,24 @@ stack.") #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))))) +(define-public rust-smallvec-0.2 + (package + (inherit rust-smallvec-0.6) + (name "rust-smallvec") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "smallvec" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04z0bv5pcnwnvij8kfzw56lnib9mjq8bafp120i7q48yvzbbr32c")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=tests::test_truncate"))))) + (define-public rust-socket2-0.3 (package (name "rust-socket2") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0049-gnu-Add-rust-take-0.1.patch >From b320eb867b17afe49bf9e8c8da89e02d3b618c2f Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:09:55 -0700 Subject: [PATCH 49/89] gnu: Add rust-take-0.1. * gnu/packages/crates-io.scm (rust-take-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b02fcbfdb7..322ad97044 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28258,6 +28258,30 @@ syntax extension expansion.") (description "Send log messages to syslog.") (license license:expat))) +(define-public rust-take-0.1 + (package + (name "rust-take") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "take" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1i8p579k9kq21k7pcm4yzbc12xpshl39jfa5c1j6pxf1ia6qcmxi")))) + (build-system cargo-build-system) + (home-page "https://github.com/carllerche/take") + (synopsis "Container utility for Rust") + (description + "This package provides the @code{Take} datatype. @code{Take} is a +@code{Cell} allowing the inner value to be consumed without a mutable +reference. + +In order to maintain safety, it is not possible to get access to the inner +value without consuming it.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-take-mut-0.2 (package (name "rust-take-mut") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0050-gnu-Add-rust-lazycell-0.4.patch >From 29d329d7ed601c01ba66302d784d01a21e9a863a Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:13:05 -0700 Subject: [PATCH 50/89] gnu: Add rust-lazycell-0.4. * gnu/packages/crates-io.scm (rust-lazycell-0.4): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 322ad97044..43504d8b2c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13470,6 +13470,24 @@ requires non-const function calls to be computed.") "This package provides a library providing a lazily filled Cell struct.") (license (list license:expat license:asl2.0)))) +(define-public rust-lazycell-0.4 + (package + (inherit rust-lazycell-1) + (name "rust-lazycell") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lazycell" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0szgqfl2aw18kn9cf6qqpxxkiw6x6hx9y4r3gklnxn1r8xn304nf")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-clippy" ,rust-clippy-0.0)))))) + (define-public rust-lexical-core-0.7 (package (name "rust-lexical-core") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0051-gnu-Add-rust-tokio-service-0.1.patch >From 8e5014c99bbe0bf4fea5f8c64553960cf5f2220e Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 19 Jun 2020 14:57:55 -0700 Subject: [PATCH 51/89] gnu: Add rust-tokio-service-0.1. * gnu/packages/crates-io.scm (rust-tokio-service-0.1): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 43504d8b2c..2fc2f5cbef 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30166,6 +30166,31 @@ using Rustls.") ("rust-tokio" ,rust-tokio-0.2) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-tokio-service-0.1 + (package + (name "rust-tokio-service") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-service" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qjinhax0y164kxp887mj8c5ih9829kdrnrb2ramzwg0fz825ni4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures" ,rust-futures-0.1)))) + (home-page + "https://github.com/tokio-rs/tokio-service") + (synopsis + "Service trait for Tokio") + (description + "This package provids the core @code{Service} trait for Tokio. It has +been deprecated in favor of the tower crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tokio-signal-0.2 (package (name "rust-tokio-signal") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0052-gnu-Add-rust-tokio-proto-0.1.patch >From d0ec8dfeaf5a06271ce5baaf7b056665322bd18e Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:16:00 -0700 Subject: [PATCH 52/89] gnu: Add rust-tokio-proto-0.1. * gnu/packages/crates-io.scm (rust-tokio-proto-0.1): New variables. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2fc2f5cbef..25e9ff652a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30008,6 +30008,45 @@ backed by OpenSSL.") futures.") (license license:expat))) +(define-public rust-tokio-proto-0.1 + (package + (name "rust-tokio-proto") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-proto" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12833cckniq3y83zjhk2ayv6qpr99d4mj1h3hz266g1mh6p4gfwg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.3) + ("rust-net2" ,rust-net2-0.2) + ("rust-rand" ,rust-rand-0.3) + ("rust-slab" ,rust-slab-0.3) + ("rust-smallvec" ,rust-smallvec-0.2) + ("rust-take" ,rust-take-0.1) + ("rust-tokio-core" ,rust-tokio-core-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-service" ,rust-tokio-service-0.1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-env-logger" ,rust-env-logger-0.3) + ("rust-lazycell" ,rust-lazycell-0.4) + ("rust-mio" ,rust-mio-0.6)))) + (home-page "https://tokio.rs") + (synopsis "Clients and servers for the Tokio platform") + (description + "This package makes it easy to implement clients and servers for +request/response oriented protocols. It takes a transport and provides the +request/response API. It is a part of the Tokio platform.") + (license `(,license:asl2.0 ,license:expat)))) + (define-public rust-tokio-reactor-0.1 (package (name "rust-tokio-reactor") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0053-gnu-Add-rust-pretty-env-logger-0.2.patch >From 7a8b8536d8842def250e2514000bcbf698d73008 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:23:12 -0700 Subject: [PATCH 53/89] gnu: Add rust-pretty-env-logger-0.2. * gnu/packages/crates-io.scm (rust-pretty-env-logger-0.2): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 25e9ff652a..0497480de8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20022,6 +20022,28 @@ replacements, adding colorful diffs.") ("rust-chrono" ,rust-chrono-0.4) ("rust-env-logger" ,rust-env-logger-0.6)))))) +(define-public rust-pretty-env-logger-0.2 + (package + (inherit rust-pretty-env-logger-0.3) + (name "rust-pretty-env-logger") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty_env_logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a0c53plsr4abw0y1iyjxs0d64f0a6dn48464a2rp21f0iiix3gd")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-ansi-term" ,rust-ansi-term-0.11) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4)))))) + (define-public rust-prettytable-rs-0.8 (package (name "rust-prettytable-rs") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0054-gnu-Add-rust-spmc-0.2.patch >From 14e9c45ea7e49b54086d45d01a094bdf6ecc0757 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:29:11 -0700 Subject: [PATCH 54/89] gnu: Add rust-spmc-0.2. * gnu/packages/crates-io.scm (rust-spmc-0.2): New variable. --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0497480de8..1032134f9c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -26770,6 +26770,26 @@ initializers are available.") (description "Simple SPMC channel") (license (list license:expat license:asl2.0)))) +(define-public rust-spmc-0.2 + (package + (inherit rust-spmc-0.3) + (name "rust-spmc") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "spmc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nhbjc65avbb4nffk6b49spbv7rsmmnrppj2qnx39mhwi57spgiw")))) + (arguments + `(#:tests? #f ;; tests hang + #:cargo-development-inputs + (("rust-loom" ,rust-loom-0.2)))) + ;; This package is broken before 0.3 + ;; Only included for pijul@1 + (properties `((hidden? . #t))))) + (define-public rust-spsc-buffer-0.1 (package (name "rust-spsc-buffer") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0055-gnu-Add-rust-relay-0.1.patch >From ec64fd5b75e20fee13ff3ee13637772072781409 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:41:00 -0700 Subject: [PATCH 55/89] gnu: Add rust-relay-0.1. * gnu/packages/crates-io.scm (rust-relay-0.1): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1032134f9c..b48277cbd9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22390,6 +22390,34 @@ uses finite automata and guarantees linear time matching on all inputs.") (description "This package provides portable, relative paths for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-relay-0.1 + (package + (name "rust-relay") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "relay" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16j8y57rjrfy3h5xfi9fwfbjs1nka3iifi52rvp9szldd21f6xhm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1)))) + (home-page "https://github.com/seanmonstar/relay") + (synopsis "Lightweight Future channel for passing data among tasks") + (description + "This package provides a lightweight channel using @code{Future}. A +relay channel does not implement @code{Send}, and so is not meant for +synchronizing between threads. Instead, its used to send message between +tasks that live in the same thread. + +It is similar to the @code{oneshot} channel in the futures crate, but since it +is not meant for sending across threads, it performs about twice as fast.") + (license (list license:expat license:asl2.0)))) + (define-public rust-remove-dir-all-0.5 (package (name "rust-remove-dir-all") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0056-gnu-Add-rust-try-lock-0.1.patch >From 2bf496f408d41865410fec7d703c9f520dff32ea Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:58:07 -0700 Subject: [PATCH 56/89] gnu: Add rust-try-lock-0.1. * gnu/packages/crates-io.scm (rust-try-lock-0.1): New variable. --- gnu/packages/crates-io.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b48277cbd9..101e25f952 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31493,6 +31493,20 @@ other queries.") "This package provides a lightweight atomic lock.") (license license:expat))) +(define-public rust-try-lock-0.1 + (package + (inherit rust-try-lock-0.2) + (name "rust-try-lock") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "try-lock" version)) + (file-name (string-append name "-" version ".crate")) + (sha256 + (base32 + "1hp76pyzyxhcxxjacf083gpp6gf8cqwkg188yy02i2a3axqs8apf")))))) + (define-public rust-trybuild-1 (package (name "rust-trybuild") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0057-gnu-Add-rust-want-0.0.patch >From 9562fba86c72d06dedfd51dcbb6a25e98754d18c Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:44:44 -0700 Subject: [PATCH 57/89] gnu: Add rust-want-0.0. * gnu/packages/crates-io.scm (rust-want-0.0): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 101e25f952..47c8835ed9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32921,6 +32921,30 @@ result.") (description "Detect when another Future wants a result.") (license license:expat))) +(define-public rust-want-0.0 + (package + (inherit rust-want-0.2) + (name "rust-want") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "want" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l9mbh4a0r2m3s8nckhy1vz9qm6lxsswlgxpimf4pyjkcyb9spd0")))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" + "--skip=tests::want_notify_0" + "--skip=tests::want_notify_moving_tasks" + "--skip=tests::stress") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-try-lock" ,rust-try-lock-0.1)))))) + (define-public rust-wasi-0.9 (package (name "rust-wasi") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0058-gnu-Add-rust-hyper-0.11.patch >From 9ebc609f40e6a0a5d30d39848a09ff181a68c6f0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 08:31:07 -0700 Subject: [PATCH 58/89] gnu: Add rust-hyper-0.11. * gnu/packages/crates-io.scm (rust-hyper-0.11): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47c8835ed9..ae04200442 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11972,6 +11972,46 @@ SystemTime}}.") ("rust-tokio-mockstream" ,rust-tokio-mockstream-1) ("rust-url" ,rust-url-1)))))) +(define-public rust-hyper-0.11 + (package + (inherit rust-hyper-0.12) + (name "rust-hyper") + (version "0.11.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1msrx9fgiiv7vl4kryn2zgahbqndph5szrgqvm6fjhfk1759199l")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-futures-cpupool" ,rust-futures-cpupool-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-httparse" ,rust-httparse-1) + ("rust-iovec" ,rust-iovec-0.1) + ("rust-language-tags" ,rust-language-tags-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-net2" ,rust-net2-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-1.0) + ("rust-relay" ,rust-relay-0.1) + ("rust-time" ,rust-time-0.1) + ("rust-tokio-core" ,rust-tokio-core-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-proto" ,rust-tokio-proto-0.1) + ("rust-tokio-service" ,rust-tokio-service-0.1) + ("rust-unicase" ,rust-unicase-2) + ("rust-want" ,rust-want-0.0)) + #:cargo-development-inputs + (("rust-num-cpus" ,rust-num-cpus-1) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.2) + ("rust-spmc" ,rust-spmc-0.2) + ("rust-url" ,rust-url-1)))))) + (define-public rust-hyper-old-types-0.11 (package (name "rust-hyper-old-types") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0059-WIP-gnu-Add-rust-tokio-tls-0.1.patch >From 41fc4547ef2f2457c4f384a005490c041f8f9cef Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:12:18 -0700 Subject: [PATCH 59/89] [WIP] gnu: Add rust-tokio-tls-0.1. * gnu/packages/crates-io.scm (rust-tokio-tls-0.1): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae04200442..d88916ce51 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30612,6 +30612,39 @@ pool.") implementation of TLS for nonblocking I/O streams.") (license license:expat))) +(define-public rust-tokio-tls-0.1 + (package + (inherit rust-tokio-tls-0.3) + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tls" version)) + (file-name + (string-append + (package-name rust-tokio-tls-0.3) "-" version ".tar.gz")) + (sha256 + (base32 + "04yrdscn8m9qza8ms09pqipbmj6x2q64jgm5n3ipy4b0wl24nbvp")))) + (arguments + `(#:skip-build? #t ; openssl? + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-native-tls" ,rust-native-tls-0.1) + ("rust-tokio-core" ,rust-tokio-core-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-proto" ,rust-tokio-proto-0.1)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-env-logger" ,rust-env-logger-0.4) + ("rust-hyper" ,rust-hyper-0.11) + ("rust-openssl" ,rust-openssl-0.9) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" + ,rust-security-framework-0.1) + ("rust-tokio-service" ,rust-tokio-service-0.1) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-tokio-trace-core-0.2 (package (name "rust-tokio-trace-core") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0060-gnu-Add-rust-typed-headers-0.1.patch >From a41e1e2b0bae4987fe6dc83d8292df80677f36b3 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:19:35 -0700 Subject: [PATCH 60/89] gnu: Add rust-typed-headers-0.1. * gnu/packages/crates-io.scm (rust-typed-headers-0.1): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d88916ce51..49495e5620 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31674,6 +31674,27 @@ other queries.") deserialization.") (license (list license:expat license:asl2.0)))) +(define-public rust-typed-headers-0.1 + (package + (inherit rust-typed-headers-0.2) + (name "rust-typed-headers") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-headers" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0g40nlq5iw0zxhwb7nfmfbr9m86abgwwhxwhzrm10nfq6bsmlvxx")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-http" ,rust-http-0.1) + ("rust-mime" ,rust-mime-0.3)))))) + (define-public rust-typemap-0.3 (package (name "rust-typemap") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0061-gnu-Add-rust-enum-as-inner-0.2.patch >From 2642ec2b52026ac8fea74d01119b4af714d5beb1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:29:10 -0700 Subject: [PATCH 61/89] gnu: Add rust-enum-as-inner-0.2. * gnu/packages/crates-io.scm (rust-enum-as-inner-0.2): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 49495e5620..70c0c86cc6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7839,6 +7839,25 @@ Standard.") accessor functions on enums.") (license (list license:expat license:asl2.0)))) +(define-public rust-enum-as-inner-0.2 + (package + (inherit rust-enum-as-inner-0.3) + (name "rust-enum-as-inner") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-as-inner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zg3h7k3g1z7a9ayqy63sk302d4dg5g2h274ddv80mj4jxn2cn1x")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)))))) + (define-public rust-env-logger-0.7 (package (name "rust-env-logger") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0062-gnu-Update-rust-tokio-executor-0.1-to-0.1.8.patch >From f55bd9cc96d240782ac9834dbe6067a99d5f4d08 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:34:42 -0700 Subject: [PATCH 62/89] gnu: Update rust-tokio-executor-0.1 to 0.1.8. * gnu/packages/crates-io.scm (rust-tokio-executor-0.1): Update it. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 70c0c86cc6..665cad0bba 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29813,7 +29813,7 @@ the current thread.") (define-public rust-tokio-executor-0.1 (package (name "rust-tokio-executor") - (version "0.1.7") + (version "0.1.8") (source (origin (method url-fetch) @@ -29822,7 +29822,7 @@ the current thread.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0pjmgpg58k3hf5q9w6xjljsv8xy66lf734qnfwsc0g3pq3349sl3")))) + "1b5n6barppmhfyb1m2cvswp7nqvyrr3lb0kk545my75hdl7fw9qg")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0063-gnu-Update-rust-tokio-0.1-to-0.1.22.patch >From 5d18a8636bbad25f316438587c12ebc77fc47bbb Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:37:39 -0700 Subject: [PATCH 63/89] gnu: Update rust-tokio-0.1 to 0.1.22. * gnu/packages/crates-io.scm (rust-tokio-0.1): Update it. --- gnu/packages/crates-io.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 665cad0bba..f7ebc6893d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29602,7 +29602,7 @@ backed applications.") (define-public rust-tokio-0.1 (package (name "rust-tokio") - (version "0.1.21") + (version "0.1.22") (source (origin (method url-fetch) @@ -29611,14 +29611,13 @@ backed applications.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "11ra8jp3fj70a2zrqmd6as7wgpwiiyzjf50gz89i8r7wpksgqbzc")))) + "1xhaadfmm6m37f79xv5020gc3np9wqza3bq95ymp522qpfsw02as")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-0.4) ("rust-futures" ,rust-futures-0.1) ("rust-mio" ,rust-mio-0.6) - ("rust-miow" ,rust-miow-0.3) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-tokio-codec" ,rust-tokio-codec-0.1) ("rust-tokio-current-thread" ,rust-tokio-current-thread-0.1) @@ -29630,9 +29629,9 @@ backed applications.") ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) ("rust-tokio-threadpool" ,rust-tokio-threadpool-0.1) ("rust-tokio-timer" ,rust-tokio-timer-0.2) - ("rust-tokio-trace-core" ,rust-tokio-trace-core-0.2) ("rust-tokio-udp" ,rust-tokio-udp-0.1) - ("rust-tokio-uds" ,rust-tokio-uds-0.2)) + ("rust-tokio-uds" ,rust-tokio-uds-0.2) + ("rust-tracing-core" ,rust-tracing-core-0.1)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.5) ("rust-flate2" ,rust-flate2-1) -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0064-gnu-Add-rust-trust-dns-proto-0.7.patch >From 3d96871e8b6091a71c2a8301479f03b40048dccb Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:44:09 -0700 Subject: [PATCH 64/89] gnu: Add rust-trust-dns-proto-0.7. * gnu/packages/crates-io.scm (rust-trust-dns-proto-0.7): New variable. --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f7ebc6893d..5f011acb13 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31375,6 +31375,47 @@ extension for the Trust-DNS client to use tokio-openssl for TLS.") foundational DNS protocol library for all Trust-DNS projects.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-proto-0.7 + (package + (inherit rust-trust-dns-proto-0.19) + (name "rust-trust-dns-proto") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0099dm57nnizx4apik9sh3mnvr7rp9mivc903v8xss13dkgynnam")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.2) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-idna" ,rust-idna-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.6) + ("rust-ring" ,rust-ring-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-0.6) + ("rust-socket2" ,rust-socket2-0.3) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-tokio-udp" ,rust-tokio-udp-0.1) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-url" ,rust-url-1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tokio" ,rust-tokio-0.1)))))) + (define-public rust-trust-dns-resolver-0.19 (package (name "rust-trust-dns-resolver") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0065-gnu-Add-rust-trust-dns-https-0.3.patch >From 1d7d529094c3337c686b360f234873e63a8522a9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 09:55:44 -0700 Subject: [PATCH 65/89] gnu: Add rust-trust-dns-https-0.3. * gnu/packages/crates-io.scm (rust-trust-dns-https-0.3): New variable. --- gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5f011acb13..a07d8ef917 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31276,6 +31276,46 @@ application authors using tracing to instrument their applications.") extension for the Trust-DNS client to use DNS over HTTPS.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-https-0.3 + (package + (inherit rust-trust-dns-https-0.19) + (name "rust-trust-dns-https") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-https" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14ps1fxngm8d3ynp9jf86zrqbyzjzh62v5grwrqb1q0xhbz98vv1")))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" + "--skip=https_client_stream::tests::test_https_cloudflare") + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-failure" ,rust-failure-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-h2" ,rust-h2-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-executor" ,rust-tokio-executor-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7) + ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.6) + ("rust-typed-headers" ,rust-typed-headers-0.1) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tokio" ,rust-tokio-0.1)))))) + (define-public rust-trust-dns-native-tls-0.19 (package (name "rust-trust-dns-native-tls") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0066-gnu-Add-rust-tokio-tls-0.2.patch >From 58587dc86cebb9ecdaf1ed2ed46f57bafa00c0aa Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 19 Jun 2020 15:25:12 -0700 Subject: [PATCH 66/89] gnu: Add rust-tokio-tls-0.2. * gnu/packages/crates-io.scm (rust-tokio-tls-0.2): New variable. * gnu/packages/crates-io.scm (rust-tokio-tls-0.1): Inherit from rust-tokio-tls-0.2. --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a07d8ef917..2cd5ee8ddb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30630,9 +30630,38 @@ pool.") implementation of TLS for nonblocking I/O streams.") (license license:expat))) -(define-public rust-tokio-tls-0.1 +(define-public rust-tokio-tls-0.2 (package (inherit rust-tokio-tls-0.3) + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tls" version)) + (file-name + (string-append + (package-name rust-tokio-tls-0.3) "-" version ".tar.gz")) + (sha256 + (base32 + "0z0gmvv7jrpan6y42p5f5wd48rqcd96igp592w1c5cr573c8qjrm")))) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-env-logger" ,rust-env-logger-0.5) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" + ,rust-security-framework-0.3) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-tokio-tls-0.1 + (package + (inherit rust-tokio-tls-0.2) (version "0.1.4") (source (origin -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0067-gnu-Add-rust-trust-dns-native-tls-0.6.patch >From 9533d96343815f903e5b020cf4c6a4c5f2341c26 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 10:07:17 -0700 Subject: [PATCH 67/89] gnu: Add rust-trust-dns-native-tls-0.6. * gnu/packages/crates-io.scm (rust-trust-dns-native-tls-0.6): New variable. --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2cd5ee8ddb..4a280b8502 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31371,6 +31371,41 @@ extension for the Trust-DNS client to use DNS over HTTPS.") extension for the Trust-DNS client to use native-tls for TLS.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-native-tls-0.6 + (package + (inherit rust-trust-dns-native-tls-0.19) + (name "rust-trust-dns-native-tls") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-native-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0v18xwcy2vz57gnp1a6wx52c4zpwlakpr75ydmai8gc0h2kfzd7l")))) + (native-inputs + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" "--skip=tests::test_tls_client_stream_ipv4") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-tokio-tls" ,rust-tokio-tls-0.2) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))))) + (define-public rust-trust-dns-openssl-0.19 (package (name "rust-trust-dns-openssl") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0068-gnu-Add-rust-tokio-openssl-0.3.patch >From 277f04d62ebd795169425d6f1977f7fb5d9de035 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 10:18:52 -0700 Subject: [PATCH 68/89] gnu: Add rust-tokio-openssl-0.3. * gnu/packages/crates-io.scm (rust-tokio-openssl-0.3): New variable. --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4a280b8502..b25aaba742 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30096,6 +30096,39 @@ Tokio.") backed by OpenSSL.") (license (list license:expat license:asl2.0)))) +(define-public rust-tokio-openssl-0.3 + (package + (inherit rust-tokio-openssl-0.4) + (name "rust-tokio-openssl") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19zx58jz0vkxppa3pmqnq0b90mqsycikr5nrcy6i1bkhn53647bp")))) + (native-inputs + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-test-flags + '("--release" "--" "--skip=fetch_google") + #:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))))) + (define-public rust-tokio-process-0.2 (package (name "rust-tokio-process") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0069-gnu-Add-rust-trust-dns-openssl-0.6.patch >From dc04f6c1552e225830d3015f9d4ddeda8c89d655 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 10:25:30 -0700 Subject: [PATCH 69/89] gnu: Add rust-trust-dns-openssl-0.6. * gnu/packages/crates-io.scm (rust-trust-dns-openssl-0.6): New variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b25aaba742..33b6ac3b90 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31468,6 +31468,40 @@ extension for the Trust-DNS client to use native-tls for TLS.") extension for the Trust-DNS client to use tokio-openssl for TLS.") (license (list license:expat license:asl2.0)))) +(define-public rust-trust-dns-openssl-0.6 + (package + (inherit rust-trust-dns-openssl-0.19) + (name "rust-trust-dns-openssl") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zwx2bsf1rbyjr6l2c3vi24z7414n4b5qiymva9dmbvwxnqqyk1j")))) + (native-inputs + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.3) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.7)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))))) + (define-public rust-trust-dns-proto-0.19 (package (name "rust-trust-dns-proto") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0070-gnu-Put-rust-trust-dns-rustls-0.19-in-alphabetical-o.patch >From 6a9752fbe4f26e5f8480e56d33a70937c1611775 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 10:45:58 -0700 Subject: [PATCH 70/89] gnu: Put rust-trust-dns-rustls-0.19 in alphabetical order. * gnu/packages/crates-io.scm (rust-trust-dns-rustls-0.19): Alphabetize it. --- gnu/packages/crates-io.scm | 68 ++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 39 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 33b6ac3b90..a6728fdd5e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31636,36 +31636,6 @@ and AsyncResolver for supported resolution types. The Client can be used for other queries.") (license (list license:expat license:asl2.0)))) -(define-public rust-trust-dns-rustls-0.19 - (package - (name "rust-trust-dns-rustls") - (version "0.19.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "trust-dns-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hj4fx2x4ncj7v8pf6bbn7634zq76hjigm1s2h6b6yjzzmz4yprn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.17) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10)))) - (home-page "http://www.trust-dns.org/index.html") - (synopsis "rustls extension for the Trust-DNS client") - (description "Trust-DNS is a safe and secure DNS library. This is an -extension for the Trust-DNS client to use rustls for TLS.") - (license (list license:expat license:asl2.0)))) - (define-public rust-trust-dns-resolver-0.11 (package (inherit rust-trust-dns-resolver-0.19) @@ -31705,16 +31675,36 @@ extension for the Trust-DNS client to use rustls for TLS.") (("rust-env-logger" ,rust-env-logger-0.6) ("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-io" ,rust-tokio-io-0.1)))))) + +(define-public rust-trust-dns-rustls-0.19 + (package + (name "rust-trust-dns-rustls") + (version "0.19.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "trust-dns-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hj4fx2x4ncj7v8pf6bbn7634zq76hjigm1s2h6b6yjzzmz4yprn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-rustls" ,rust-rustls-0.17) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.13) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10)))) (home-page "http://www.trust-dns.org/index.html") - (synopsis - "Trust-DNS is a safe and secure DNS library") - (description - "Trust-DNS is a safe and secure DNS library. This Resolver library uses -the Client library to perform all DNS queries. The Resolver is intended to be -a high-level library for any DNS record resolution see Resolver and -AsyncResolver for supported resolution types. The Client can be used for -other queries.") - (license (list license:asl2.0 license:expat)))) + (synopsis "Rustls extension for the Trust-DNS client") + (description "Trust-DNS is a safe and secure DNS library. This is an +extension for the Trust-DNS client to use rustls for TLS.") + (license (list license:expat license:asl2.0)))) (define-public rust-trust-dns-rustls-0.6 (package -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0071-gnu-Add-rust-ring-0.14.patch >From dab89791754da67cc27717cc06aecc1e05382aab Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 11:28:20 -0700 Subject: [PATCH 71/89] gnu: Add rust-ring-0.14. * gnu/packages/crates-io.scm (rust-ring-0.14): New variable. --- gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a6728fdd5e..9c4791faaa 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22674,8 +22674,35 @@ functionality as retain but gives mutable borrow to the predicate.") (description "This package provided safe, fast, small crypto using Rust.") (license (list license:isc license:openssl)))) +(define-public rust-ring-0.14 + (package + (inherit rust-ring-0.16) + (name "rust-ring") + (version "0.14.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "ring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g091akf4dpg9qj05z3gc4nlrs57mjj2bqab98gaqp79wf3c2ss2")))) + (arguments + `(#:tests? #f ; 10/12 failing + #:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-spin" ,rust-spin-0.5) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-winapi" ,rust-winapi-0.3) + ;; build dependencies + ("rust-cc" ,rust-cc-1)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))))) + (define-public rust-ring-0.13 - (package/inherit rust-ring-0.16 + (package/inherit rust-ring-0.14 (name "rust-ring") (version "0.13.5") (source -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0072-gnu-Add-rust-sct-0.5.patch >From 221fc9f44784aa1c868ee7291ac7fa8b3e38c387 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 11:53:22 -0700 Subject: [PATCH 72/89] gnu: Add rust-sct-0.5. * gnu/packages/crates-io.scm (rust-sct-0.5): New variable. * gnu/packages/crates-io.scm (rust-sct-0.3): Inherit from rust-sct-0.5. --- gnu/packages/crates-io.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9c4791faaa..dab2547f47 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24596,8 +24596,27 @@ Pwrite traits from the scroll crate.") (description "Certificate transparency SCT verification library") (license (list license:asl2.0 license:isc license:expat)))) +(define-public rust-sct-0.5 + (package + (inherit rust-sct-0.6) + (name "rust-sct") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fb9ym5bwswx01yyggn7v2vfryih4vnqpp4r4ssv3qaqpn7xynig")))) + (arguments + `(#:cargo-inputs + (("rust-ring" ,rust-ring-0.14) + ("rust-untrusted" ,rust-untrusted-0.6)) + #:cargo-development-inputs + (("rust-cc" ,rust-cc-1)))))) + (define-public rust-sct-0.3 - (package/inherit rust-sct-0.6 + (package/inherit rust-sct-0.5 (name "rust-sct") (version "0.3.0") (source -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0073-gnu-Add-rust-webpki-roots-0.16.patch >From 4749fff629f3765ca76595e8f41f364696dd04c0 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 11:58:08 -0700 Subject: [PATCH 73/89] gnu: Add rust-webpki-roots-0.16. * gnu/packages/crates-io.scm (rust-webpki-roots-0.16): New variable. * gnu/packages/crates-io.scm (rust-webpki-roots-0.14): Inherit from rust-webpki-roots-0.16. --- gnu/packages/crates-io.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dab2547f47..fa3a977d40 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33887,8 +33887,24 @@ with webpki.") (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.14 - (package/inherit rust-webpki-roots-0.18 + (package/inherit rust-webpki-roots-0.16 (name "rust-webpki-roots") (version "0.14.0") (source -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0074-gnu-Add-rust-webpki-0.19.patch >From 8be812d968be6e0a62187905fa314abd1fcb438e Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 12:04:36 -0700 Subject: [PATCH 74/89] gnu: Add rust-webpki-0.19. * gnu/packages/crates-io.scm (rust-webpki-0.19): New variable. * gnu/packages/crates-io.scm (rust-webpki-0.18): Inherit from rust-webpki-0.19. --- gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fa3a977d40..370a69dca2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33806,8 +33806,28 @@ attribute that is not in the shared backend crate.") Verification.") (license license:isc))) -(define-public rust-webpki-0.18 +(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")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Missing some test files + #: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 @@ -33817,10 +33837,9 @@ Verification.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0zx1v8afa4ig97dyqfrnlj5i7pib6dnfw88qn2iiqhfq2rrrdmqp")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-ring" ,rust-ring-0.13) + (("rust-ring" ,rust-ring-0.14) ("rust-untrusted" ,rust-untrusted-0.6)) #:cargo-development-inputs (("rust-base64" ,rust-base64-0.9)))))) -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0075-gnu-Add-rust-rustls-0.15.patch >From e2b3b64cd7ee88dfc0629d4a017f614910a2e0b9 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 12:42:56 -0700 Subject: [PATCH 75/89] gnu: Add rust-rustls-0.15. * gnu/packages/crates-io.scm (rust-rustls-0.15): New variable. * gnu/packages/crates-io.scm (rust-rustls-0.12): Inherit from rust-rustls-0.15. --- gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 370a69dca2..26a958d274 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23880,8 +23880,39 @@ Rust.") ("rust-tempfile" ,rust-tempfile-3) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-rustls-0.15 + (package + (inherit rust-rustls-0.16) + (name "rust-rustls") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vh93fhqfbn4ysw4xzkpkpqdz36xixz4mhs1qllgldfq5iay6wgj")))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" + "--skip=msgs::message_test::test_read_fuzz_corpus" + "--skip=stream_write_reports_underlying_io_error_before_plaintext_processed") + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.14) + ("rust-sct" ,rust-sct-0.5) + ("rust-untrusted" ,rust-untrusted-0.6) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) + (define-public rust-rustls-0.12 - (package/inherit rust-rustls-0.16 + (package/inherit rust-rustls-0.15 (name "rust-rustls") (version "0.12.0") (source -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0076-gnu-Add-rust-tokio-rustls-0.9.patch >From 63749fae76b89e5e4cdae31779b90996d089571b Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 13:07:56 -0700 Subject: [PATCH 76/89] gnu: Add rust-tokio-rustls-0.9. * gnu/packages/crates-io.scm (rust-tokio-rustls-0.9): New variable. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 26a958d274..484653445e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30443,6 +30443,33 @@ using Rustls.") ("rust-tokio" ,rust-tokio-0.2) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-tokio-rustls-0.9 + (package + (inherit rust-tokio-rustls-0.12) + (name "rust-tokio-rustls") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jd63sl177sxacnksaxhazzmamwds98xk3niprh2qib75a1rk8cm")))) + (arguments + `(;; These tests require network access. + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)) + #:cargo-development-inputs + (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) + (define-public rust-tokio-service-0.1 (package (name "rust-tokio-service") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0077-gnu-Add-rust-reqwest-0.9.patch >From 97e49344818061cccd008c3a098d179efa8cfe11 Mon Sep 17 00:00:00 2001 From: John Soo Date: Mon, 26 Oct 2020 14:00:41 -0700 Subject: [PATCH 77/89] gnu: Add rust-reqwest-0.9. * gnu/packages/crates-io.scm (rust-reqwest-0.9): New variable. --- gnu/packages/crates-io.scm | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 484653445e..f6e37ff3af 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22600,6 +22600,77 @@ is not meant for sending across threads, it performs about twice as fast.") (description "This package provides a high level HTTP client library.") (license (list license:expat license:asl2.0)))) +(define-public rust-reqwest-0.9 + (package + (inherit rust-reqwest-0.10) + (name "rust-reqwest") + (version "0.9.24") + (source + (origin + (method url-fetch) + (uri (crate-uri "reqwest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1aql4wpmf1cfl09xddlxnmd7y1nj7fcbzmsh9603qd61lfp471pq")))) + (native-inputs + `(("openssl" ,openssl) + ("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-test-flags + '("--release" + "--" + ;; Skip network tests + "--skip=test_badssl_modern" + "--skip=test_badssl_self_signed" + "--skip=test_badssl_wrong_host") + #:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-cookie" ,rust-cookie-0.12) + ("rust-cookie-store" ,rust-cookie-store-0.7) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-http" ,rust-http-0.1) + ("rust-hyper" ,rust-hyper-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.5) + ("rust-time" ,rust-time-0.1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-threadpool" ,rust-tokio-threadpool-0.1) + ("rust-tokio-timer" ,rust-tokio-timer-0.2) + ("rust-url" ,rust-url-1) + ("rust-uuid" ,rust-uuid-0.7) + ("rust-winreg" ,rust-winreg-0.6) + ("rust-hyper-old-types" ,rust-hyper-old-types-0.11) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.17) + ("rust-hyper-tls" ,rust-hyper-tls-0.3) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-rustls" ,rust-rustls-0.16) + ("rust-socks" ,rust-socks-0.3) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-libflate" ,rust-libflate-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'find-openssl + (lambda* (#:key inputs #:allow-other-keys) + (let ((openssl (assoc-ref inputs "openssl"))) + (setenv "OPENSSL_DIR" openssl)) + #t))))))) + (define-public rust-resolv-conf-0.6 (package (name "rust-resolv-conf") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0078-gnu-Remove-punctuation-in-rust-rustls-0.18-synopsis.patch >From fe229d7e77f5b47d7111f9959ae6467606b7b495 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:14:09 -0700 Subject: [PATCH 78/89] gnu: Remove punctuation in rust-rustls-0.18 synopsis. * gnu/packages/crates-io.scm (rust-rustls-0.18):[synopsis] Remove period. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f6e37ff3af..bc16546529 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -23890,7 +23890,7 @@ rustc compiler.") ("rust-log" ,rust-log-0.4) ("rust-webpki-roots" ,rust-webpki-roots-0.20)))) (home-page "https://github.com/ctz/rustls") - (synopsis "Modern TLS library written in Rust.") + (synopsis "Modern TLS library written in Rust") (description "This package provides a modern TLS library written in Rust.") (license -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0079-gnu-Fix-rust-trust-dns-openssl-0.19-home-page.patch >From be209b0114b69a905470b58cdd9733cee8d2c0dc Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:16:32 -0700 Subject: [PATCH 79/89] gnu: Fix rust-trust-dns-openssl-0.19 home-page. * gnu/packages/crates-io.scm (rust-trust-dns-openssl-0.19):[home-page] Update url. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bc16546529..2090db7ff7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31637,7 +31637,7 @@ extension for the Trust-DNS client to use native-tls for TLS.") #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-0.2)))) - (home-page "http://www.trust-dns.org/index.html") + (home-page "http://trust-dns.org/index.html") (synopsis "tokio-openssl extension for the Trust-DNS client") (description "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use tokio-openssl for TLS.") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0080-gnu-Fix-rust-tokio-openssl-0.4-home-page.patch >From 6392f4c9adba99ba37e4951c25af73c24a837d00 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:19:13 -0700 Subject: [PATCH 80/89] gnu: Fix rust-tokio-openssl-0.4 home-page. * gnu/packages/crates-io.scm (rust-tokio-openssl-0.4):[home-page] Update url. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2090db7ff7..10f7220247 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -30238,7 +30238,7 @@ Tokio.") #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) ("rust-tokio" ,rust-tokio-0.2)))) - (home-page "https://github.com/alexcrichton/tokio-openssl") + (home-page "https://github.com/sfackler/tokio-openssl") (synopsis "SSL streams for Tokio backed by OpenSSL") (description "This package is an implementation of SSL streams for Tokio backed by OpenSSL.") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0081-gnu-Fix-rust-trust-dns-native-tls-0.19-synopsis-and-.patch >From a4eea7fcc301c8de985164a89c3f4fd2cabbbf18 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:20:15 -0700 Subject: [PATCH 81/89] gnu: Fix rust-trust-dns-native-tls-0.19 synopsis and home-page. * gnu/packages/crates-io.scm (rust-trust-dns-native-tls-0.19):[synopsis] Capitalize first letter, [home-page] update url. --- gnu/packages/crates-io.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 10f7220247..7186a065f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31573,8 +31573,8 @@ extension for the Trust-DNS client to use DNS over HTTPS.") ("rust-tokio" ,rust-tokio-0.2) ("rust-tokio-tls" ,rust-tokio-tls-0.3) ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.19)))) - (home-page "http://www.trust-dns.org/index.html") - (synopsis "native-tls extension for the Trust-DNS client") + (home-page "http://trust-dns.org/index.html") + (synopsis "Native-tls extension for the Trust-DNS client") (description "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use native-tls for TLS.") (license (list license:expat license:asl2.0)))) -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0082-gnu-Fix-rust-trust-dns-https-0.19-home-page.patch >From 7a669ebdeb43106f5e85e15eb4ef4365f369e166 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:22:16 -0700 Subject: [PATCH 82/89] gnu: Fix rust-trust-dns-https-0.19 home-page. * gnu/packages/crates-io.scm (rust-trust-dns-https-0.19):[home-page] Update url. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7186a065f1..0ae32eab31 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31507,7 +31507,7 @@ application authors using tracing to instrument their applications.") #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7) ("rust-futures" ,rust-futures-0.3)))) - (home-page "http://www.trust-dns.org/index.html") + (home-page "http://trust-dns.org/index.html") (synopsis "DNS over HTTPS extension for the Trust-DNS client") (description "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use DNS over HTTPS.") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0083-gnu-Fix-rust-hyper-0.13-synopsis-punctuation.patch >From 2f6d4b7edc32afe1f1e5b26933d4827aaff9d1d5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:23:34 -0700 Subject: [PATCH 83/89] gnu: Fix rust-hyper-0.13 synopsis' punctuation. * gnu/packages/crates-io.scm (rust-hyper-0.13):[synopsis] Remove period. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0ae32eab31..a7560807e7 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11938,7 +11938,7 @@ SystemTime}}.") ("rust-tower-util" ,rust-tower-util-0.3) ("rust-url" ,rust-url-1)))) (home-page "https://hyper.rs") - (synopsis "Fast and correct HTTP library.") + (synopsis "Fast and correct HTTP library") (description "This package provides a fast and correct HTTP library.") (license license:expat))) -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0084-gnu-Fix-rust-security-framework-1-home-page.patch >From ffdd3cdaf77ed81aa2a7b954f7208bb7e6ba8161 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:27:46 -0700 Subject: [PATCH 84/89] gnu: Fix rust-security-framework-1 home-page. * gnu/packages/crates-io.scm (rust-security-framework-1):[home-page] Update url. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a7560807e7..3c115191ec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24803,7 +24803,7 @@ proven statistical guarantees.") #:cargo-development-inputs (("rust-hex" ,rust-hex-0.4) ("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page "https://lib.rs/crates/security_framework") + (home-page "https://github.com/kornelski/rust-security-framework") (synopsis "@code{Security.framework} bindings for macOS and iOS") (description "This package provides @code{Security.framework} bindings for macOS and iOS.") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0085-gnu-Add-detail-to-rust-serde-urlencoded-0.6-descript.patch >From a5de6a7f909347a62237d3a6b399a8700ed42fdc Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:30:10 -0700 Subject: [PATCH 85/89] gnu: Add detail to rust-serde-urlencoded-0.6 description. * gnu/packages/crates-io.scm (rust-serde-urlencoded-0.6):[description] Add detail. --- gnu/packages/crates-io.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3c115191ec..e2330c6053 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25727,8 +25727,12 @@ for the serde framework.") #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1)))) (home-page "https://github.com/nox/serde_urlencoded") - (synopsis "x-www-form-urlencoded meets serde") - (description "x-www-form-urlencoded meets serde.") + (synopsis "@code{x-www-form-urlencoded} meets serde") + (description + "This package is a Rust library for serialising to and deserialising from +the @code{application/x-www-form-urlencoded} format. It is built upon Serde, +a high performance generic serialization framework and rust-url, a URL parser +for Rust.") (license (list license:expat license:asl2.0)))) (define-public rust-serde-urlencoded-0.5 -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0086-gnu-Fix-rust-trust-dns-resolver-0.19-home-page.patch >From 5a26be1e7a58fe7756f7d2f3009c721e98d9ffd5 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:35:54 -0700 Subject: [PATCH 86/89] gnu: Fix rust-trust-dns-resolver-0.19 home-page. * gnu/packages/crates-io.scm (rust-trust-dns-resolver-0.19):[home-page] Update url. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2330c6053..ff55178795 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31806,7 +31806,7 @@ foundational DNS protocol library for all Trust-DNS projects.") #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7) ("rust-futures" ,rust-futures-0.3)))) - (home-page "http://www.trust-dns.org/index.html") + (home-page "http://trust-dns.org/index.html") (synopsis "Safe and secure DNS library") (description "Trust-DNS is a safe and secure DNS library. This Resolver library uses the Client library to perform all DNS queries. The Resolver is -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0087-gnu-Fix-rust-trust-dns-rustls-0.19-home-page.patch >From b03afe8e3448689fc01d381549ce93fc836b9fa4 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 10:55:23 -0700 Subject: [PATCH 87/89] gnu: Fix rust-trust-dns-rustls-0.19 home-page. * gnu/packages/crates-io.scm (rust-trust-dns-rustls-0.19):[home-page] Update url. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ff55178795..aa4b95d882 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31879,7 +31879,7 @@ other queries.") ("rust-webpki" ,rust-webpki-0.21)) #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10)))) - (home-page "http://www.trust-dns.org/index.html") + (home-page "http://trust-dns.org/index.html") (synopsis "Rustls extension for the Trust-DNS client") (description "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use rustls for TLS.") -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0088-gnu-Capitalize-synopsis-of-rust-trust-dns-openssl-0..patch >From c50d3b42ce1572cdcfd17fe27bca33174ff21a74 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 31 Oct 2020 11:04:42 -0700 Subject: [PATCH 88/89] gnu: Capitalize synopsis of rust-trust-dns-openssl-0.19. * gnu/package/crates-io.scm (rust-trust-dns-openssl-0.19):[synopsis] Capitalize. --- gnu/packages/crates-io.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aa4b95d882..c73c96c638 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31642,7 +31642,7 @@ extension for the Trust-DNS client to use native-tls for TLS.") (("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-0.2)))) (home-page "http://trust-dns.org/index.html") - (synopsis "tokio-openssl extension for the Trust-DNS client") + (synopsis "Tokio-openssl extension for the Trust-DNS client") (description "Trust-DNS is a safe and secure DNS library. This is an extension for the Trust-DNS client to use tokio-openssl for TLS.") (license (list license:expat license:asl2.0)))) -- 2.28.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0089-gnu-Add-pijul.patch >From 5105b110d7bcbc7f922691982c798d301595fe3c Mon Sep 17 00:00:00 2001 From: John Soo Date: Wed, 17 Jun 2020 18:23:46 -0700 Subject: [PATCH 89/89] gnu: Add pijul. * gnu/packages/rust-apps.scm (pijul): New variable. --- gnu/packages/rust-apps.scm | 114 +++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index fabb4e0380..2b5a426e1b 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -30,8 +30,11 @@ #:use-module (gnu packages compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crypto) #:use-module (gnu packages documentation) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages llvm) + #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) @@ -235,6 +238,117 @@ for distinguishing different kinds of bytes such as NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII.") (license (list license:expat license:asl2.0)))) +(define-public pijul + (package + (name "pijul") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12aqpfd2si70qbvfnn9kvznxyd5g5gsb1kk1q52wm077cd03yapr")))) + (build-system cargo-build-system) + (inputs + `(("clang" ,clang) + ("libressl" ,libressl) + ("libsodium" ,libsodium) + ("nettle" ,nettle))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-base64" ,rust-base64-0.9) + ("rust-bincode" ,rust-bincode-1) + ("rust-bs58" ,rust-bs58-0.2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-2) + ("rust-cryptovec" ,rust-cryptovec-0.4) + ("rust-dirs" ,rust-dirs-1.0) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-failure" ,rust-failure-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-getch" ,rust-getch-0.2) + ("rust-hex" ,rust-hex-0.3) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-libpijul" ,rust-libpijul-0.12) + ("rust-line" ,rust-line-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-pathdiff" ,rust-pathdiff-0.1) + ("rust-progrs" ,rust-progrs-0.1) + ("rust-rand" ,rust-rand-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.9) + ("rust-rpassword" ,rust-rpassword-2.1.0) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-shell-escape" ,rust-shell-escape-0.1) + ("rust-tar" ,rust-tar-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-term" ,rust-term-0.5) + ("rust-thrussh" ,rust-thrussh-0.21) + ("rust-thrussh-config" ,rust-thrussh-config-0.2) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.11) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio-uds" ,rust-tokio-uds-0.2) + ("rust-toml" ,rust-toml-0.4) + ("rust-username" ,rust-username-0.2)) + #:cargo-development-inputs + (("rust-walkdir" ,rust-walkdir-2)) + #:phases + (modify-phases %standard-phases + (add-before 'build 'set-clang-env + (lambda* (#:key inputs #:allow-other-keys) + (setenv + "LIBCLANG_PATH" + (string-append (assoc-ref inputs "clang") "/lib")) + #t)) + (add-after 'install 'install-completions + (lambda* (#:key outputs #:allow-other-keys) + (use-modules (ice-9 popen) + (ice-9 textual-ports)) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share")) + (bash (string-append + share "/bash-completion/completions")) + (zsh (string-append + share "/zsh/site-functions")) + (fish (string-append + share "/fish/vendor_completions.d"))) + (for-each + (lambda (x) + (let ((dir (cddr x)) + (file (cadr x)) + (shell (car x))) + (mkdir-p dir) + (call-with-output-file (string-append dir "/" file) + (lambda (f) + (let* ((cmd (string-append + bin "/pijul generate-completions --" + shell)) + (pipe (open-input-pipe cmd)) + (completion (get-string-all pipe))) + (format f "~A" completion) + (close-pipe pipe)))) )) + `(("bash" . ("pijul" . ,bash)) + ("zsh" . ("_pijul" . ,zsh)) + ("fish" . ("pijul.fish" . ,fish)))) + #t)))))) + (home-page "https://pijul.org/") + (synopsis + "Patch-based distributed version control system") + (description + "This package provides a patch-based distributed version control +system, easy to use and fast. Command-line interface.") + (license license:gpl2+))) + (define-public ripgrep (package (name "ripgrep") -- 2.28.0 --=-=-=--