From: John Soo <jsoo1@asu.edu>
To: Julien Lepiller <julien@lepiller.eu>
Cc: "Ludovic Courtès" <ludo@gnu.org>, 43929 <43929@debbugs.gnu.org>,
zimoun <zimon.toutoune@gmail.com>
Subject: [bug#43929] gnu: Add pijul.
Date: Sat, 31 Oct 2020 11:31:04 -0700 [thread overview]
Message-ID: <87wnz6z1qv.fsf@asu.edu> (raw)
In-Reply-To: <2DFC6265-699A-4EA3-8E50-5352B8EA59F6@lepiller.eu> (Julien Lepiller's message of "Wed, 28 Oct 2020 13:37:31 -0400")
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
Hello guix,
Here are the patches with [WIP] that "build" but with #:skip-build #t
and [WIP] removed.
- John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-rust-core-foundation-0.2.patch --]
[-- Type: text/x-patch, Size: 1380 bytes --]
From 72bc8259a6ae05521e46d1d59ccf2a06998082b1 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Mon, 26 Oct 2020 07:34:59 -0700
Subject: [PATCH] gnu: Add rust-core-foundation-0.2.
* gnu/packages/crates-io.scm (rust-core-foundation-0.2): 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 e9012df979..c03d389c5b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4787,6 +4787,27 @@ 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
+ #:skip-build? #t
+ #: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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0001-gnu-Add-rust-native-tls-0.1.patch --]
[-- Type: text/x-patch, Size: 2006 bytes --]
From 318fb7aa80490e004a7dd4777f90ed09cfb719d6 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Mon, 26 Oct 2020 07:48:00 -0700
Subject: [PATCH] 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 59803621bf..9a11ddea41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16122,6 +16122,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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0001-gnu-Add-rust-tokio-tls-0.1.patch --]
[-- Type: text/x-patch, Size: 1925 bytes --]
From b8d04408c2272658de9919f188391e84cc370962 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Mon, 26 Oct 2020 09:12:18 -0700
Subject: [PATCH] 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 289630c8f5..baab88799c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30613,6 +30613,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
next prev parent reply other threads:[~2020-10-31 18:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-11 16:58 [bug#43929] gnu: Add pijul John Soo
2020-10-11 17:40 ` Julien Lepiller
2020-10-28 14:57 ` Ludovic Courtès
2020-10-28 15:13 ` John Soo
2020-10-28 15:42 ` zimoun
2020-10-28 17:37 ` Julien Lepiller
2020-10-31 18:15 ` John Soo
2020-11-22 16:34 ` Efraim Flashner
2020-11-22 16:45 ` John Soo
2020-10-31 18:31 ` John Soo [this message]
2020-11-05 16:16 ` John Soo
2020-11-25 15:43 ` John Soo
2021-02-15 22:18 ` John Soo
2021-02-16 9:31 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnz6z1qv.fsf@asu.edu \
--to=jsoo1@asu.edu \
--cc=43929@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=ludo@gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).