[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
109/194: gnu: Add rust-socket2-0.5.
From: |
guix-commits |
Subject: |
109/194: gnu: Add rust-socket2-0.5. |
Date: |
Tue, 3 Oct 2023 14:57:40 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9f99e3d35b649c6a7455689088a9b5903f360a86
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 08:07:59 2023 +0300
gnu: Add rust-socket2-0.5.
* gnu/packages/crates-io.scm (rust-socket2-0.5): New variable.
(rust-socket2-0.4): Inherit from rust-socket2-0.5.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4a271e689d..2cec8b332f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64377,8 +64377,32 @@ It is also flexible enough to build your own test
harness like @code{trycmd}.")
benchmarking.")
(license license:bsd-3)))
+(define-public rust-socket2-0.5
+ (package
+ (name "rust-socket2")
+ (version "0.5.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "socket2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17lqx8w2b3nysrkdbdz8y7fkikz5v77c052q57lxwajmxchfhca0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-windows-sys" ,rust-windows-sys-0.48))))
+ (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:expat license:asl2.0))))
+
(define-public rust-socket2-0.4
(package
+ (inherit rust-socket2-0.5)
(name "rust-socket2")
(version "0.4.7")
(source
@@ -64388,18 +64412,10 @@ benchmarking.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gaf57dc16s1lfyv388w9vdl9qay15xds78jcwakml9kj3dx5qh2"))))
- (build-system cargo-build-system)
(arguments
(list #: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))))
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-socket2-0.3
(package
- 96/194: gnu: rust-miniz-oxide-0.3: Update to 0.3.7., (continued)
- 96/194: gnu: rust-miniz-oxide-0.3: Update to 0.3.7., guix-commits, 2023/10/03
- 95/194: gnu: rust-miniz-oxide-0.4: Update to 0.4.4., guix-commits, 2023/10/03
- 97/194: gnu: rust-pkg-config-0.3: Update to 0.3.27., guix-commits, 2023/10/03
- 104/194: gnu: rust-nix-0.24: Update to 0.24.3., guix-commits, 2023/10/03
- 101/194: gnu: Add rust-loom-0.7., guix-commits, 2023/10/03
- 105/194: gnu: rust-pin-project-lite-0.2: Update to 0.2.13., guix-commits, 2023/10/03
- 106/194: gnu: Add rust-rustix-0.38., guix-commits, 2023/10/03
- 110/194: gnu: rust-tokio-1: Update to 1.32.0., guix-commits, 2023/10/03
- 111/194: gnu: Add rust-tokio-macros-2., guix-commits, 2023/10/03
- 52/194: gnu: Add rust-rctree-0.5., guix-commits, 2023/10/03
- 109/194: gnu: Add rust-socket2-0.5.,
guix-commits <=
- 114/194: gnu: rust-openssl-0.10: Update to 0.10.57., guix-commits, 2023/10/03
- 119/194: gnu: Add rust-abi-stable-0.10., guix-commits, 2023/10/03
- 120/194: gnu: Add rust-mimalloc-rust-0.1., guix-commits, 2023/10/03
- 123/194: gnu: Add rust-auto-impl-0.5., guix-commits, 2023/10/03
- 131/194: gnu: rust-sourcemap-6: Update to 6.4.1., guix-commits, 2023/10/03
- 117/194: gnu: python-cryptography: Update to 41.0.4., guix-commits, 2023/10/03
- 124/194: gnu: Add rust-convert-case-0.6., guix-commits, 2023/10/03
- 143/194: gnu: Add rust-unreachable-0.1., guix-commits, 2023/10/03
- 129/194: gnu: Add rust-repr-offset-0.2., guix-commits, 2023/10/03
- 137/194: gnu: Add rust-napi-derive-2., guix-commits, 2023/10/03