[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/311: gnu: Add rust-libssh2-sys-0.3.
From: |
guix-commits |
Subject: |
43/311: gnu: Add rust-libssh2-sys-0.3. |
Date: |
Sat, 28 Oct 2023 16:37:36 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit dcaef58a518a5ad8b0cd9cd5ae9f81dc8ba5c1a6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:49:26 2023 +0300
gnu: Add rust-libssh2-sys-0.3.
* gnu/packages/crates-io.scm (rust-libssh2-sys-0.3): New variable.
(rust-libssh2-sys-0.2): Inherit from rust-libssh2-sys-0.3.
Change-Id: Ie235ebec0f8f06b0c969c9a7072f7fd5870d020f
---
gnu/packages/crates-io.scm | 50 +++++++++++++++++++++++++++++++++-------------
1 file changed, 36 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a570ba83a5..77fb2c5b99 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38641,8 +38641,42 @@ Linux userspace APIs.")
`(("rust-libc" ,rust-libc-0.2)
("rust-static-assertions" ,rust-static-assertions-1))))))
+(define-public rust-libssh2-sys-0.3
+ (package
+ (name "rust-libssh2-sys")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libssh2-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vkidqw5ll71ynqc93hgcq62iqkklzb5268zffd13ql7nwqa1j1d"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "libssh2")))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libz-sys" ,rust-libz-sys-1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list libssh2 openssl zlib))
+ (home-page "https://github.com/alexcrichton/ssh2-rs")
+ (synopsis "Native bindings to the libssh2 library")
+ (description
+ "This package provides native rust bindings to the @code{libssh2}
library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-libssh2-sys-0.2
(package
+ (inherit rust-libssh2-sys-0.3)
(name "rust-libssh2-sys")
(version "0.2.19")
(source
@@ -38651,12 +38685,10 @@ Linux userspace APIs.")
(uri (crate-uri "libssh2-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0mkhw4pksbz7gldj8hia7k6npc479n1x09i8r0pm275sac424ina"))
+ (base32 "0mkhw4pksbz7gldj8hia7k6npc479n1x09i8r0pm275sac424ina"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "libssh2") #t))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
@@ -38665,17 +38697,7 @@ Linux userspace APIs.")
;; Build dependencies:
("rust-cc" ,rust-cc-1)
("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-vcpkg" ,rust-vcpkg-0.2))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list libssh2 openssl zlib))
- (home-page "https://github.com/alexcrichton/ssh2-rs")
- (synopsis "Native bindings to the libssh2 library")
- (description
- "This package provides native rust bindings to the @code{libssh2}
library.")
- (license (list license:asl2.0
- license:expat))))
+ ("rust-vcpkg" ,rust-vcpkg-0.2))))))
(define-public rust-libtest-mimic-0.6
(package
- 31/311: gnu: rust-sha2-asm-0.6: Update to 0.6.3., (continued)
- 31/311: gnu: rust-sha2-asm-0.6: Update to 0.6.3., guix-commits, 2023/10/28
- 34/311: gnu: rust-serde-spanned-0.6: Update to 0.6.3., guix-commits, 2023/10/28
- 38/311: gnu: Add rust-piper-0.2., guix-commits, 2023/10/28
- 30/311: gnu: rust-tar-0.4: Update to 0.4.40., guix-commits, 2023/10/28
- 37/311: gnu: rust-blocking-1: Update to 1.4.1., guix-commits, 2023/10/28
- 40/311: gnu: rust-os-info-3: Update to 3.7.0., guix-commits, 2023/10/28
- 39/311: gnu: rust-pasetors-0.6: Update to 0.6.7., guix-commits, 2023/10/28
- 35/311: gnu: rust-portable-atomic-1: Update to 1.4.3., guix-commits, 2023/10/28
- 36/311: gnu: rust-polling-2: Update to 2.8.0., guix-commits, 2023/10/28
- 41/311: gnu: Add rust-opener-0.6., guix-commits, 2023/10/28
- 43/311: gnu: Add rust-libssh2-sys-0.3.,
guix-commits <=
- 44/311: gnu: Add rust-libgit2-sys-0.15., guix-commits, 2023/10/28
- 46/311: gnu: rust-cargo-util-0.2: Update to 0.2.6., guix-commits, 2023/10/28
- 50/311: gnu: Add rust-cargo-credential-wincred-0.3., guix-commits, 2023/10/28
- 45/311: gnu: rust-im-rc-15: Update to 15.1.0., guix-commits, 2023/10/28
- 42/311: gnu: Add rust-miow-0.6., guix-commits, 2023/10/28
- 47/311: gnu: Add rust-cargo-credential-0.3., guix-commits, 2023/10/28
- 48/311: gnu: Add rust-cargo-credential-libsecret-0.3., guix-commits, 2023/10/28
- 52/311: gnu: rust-arc-swap-1: Update to 1.6.0., guix-commits, 2023/10/28
- 51/311: gnu: Add rust-git2-0.17., guix-commits, 2023/10/28
- 53/311: gnu: rust-async-channel-1: Update to 1.9.0., guix-commits, 2023/10/28