[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4
From: |
Domagoj Stolfa |
Subject: |
[bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4 |
Date: |
Sun, 11 Jul 2021 15:55:52 +0100 |
* gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable.
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84e1ebd906..00cc397ec9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43563,8 +43563,36 @@ escaped text to recover the original string.")
algorithm. Includes streaming compression and decompression.")
(license license:bsd-3)))
+(define-public rust-socket2-0.4
+ (package
+ (name "rust-socket2")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "socket2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.52
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/rust-lang/socket2")
+ (synopsis "Networking sockets in Rust")
+ (description
+ "This package provides utilities for handling networking sockets with a
+maximal amount of configuration possible intended.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-socket2-0.3
(package
+ (inherit rust-socket2-0.4)
(name "rust-socket2")
(version "0.3.19")
(source
@@ -43582,14 +43610,7 @@ algorithm. Includes streaming compression and
decompression.")
("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
- (("rust-tempdir" ,rust-tempdir-0.3))))
- (home-page "https://github.com/alexcrichton/socket2-rs")
- (synopsis "Networking sockets in Rust")
- (description
- "This package provides utilities for handling networking sockets with a
-maximal amount of configuration possible intended.")
- (license (list license:asl2.0
- license:expat))))
+ (("rust-tempdir" ,rust-tempdir-0.3))))))
(define-public rust-socks-0.3
(package
--
2.32.0
- [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11, (continued)
- [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 14/26] gnu: Add rust-hmac-0.10, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 06/26] gnu: Add rust-cipher-0.3, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4,
Domagoj Stolfa <=
- [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine., Domagoj Stolfa, 2021/07/11
- bug#49383: [PATCH v2 00/26] Addressing comments, Efraim Flashner, 2021/07/13