[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/16: gnu: Add rust-git2-0.13.
From: |
guix-commits |
Subject: |
16/16: gnu: Add rust-git2-0.13. |
Date: |
Sat, 5 Dec 2020 11:46:23 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 6f0b8eaa862874d42e93c880a0517cbf5dfb7c15
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Dec 5 16:34:01 2020 +0100
gnu: Add rust-git2-0.13.
* gnu/packages/crates-io.scm (rust-git2-0.13): New variable.
(rust-git2-0.11): Inherit from above.
---
gnu/packages/crates-io.scm | 56 +++++++++++++++++++++++++++++++++-------------
1 file changed, 40 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a9114d..eb39a04 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10527,38 +10527,33 @@ authenticated encryption cipher.")
DWARF debugging format.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-git2-0.11
+(define-public rust-git2-0.13
(package
(name "rust-git2")
- (version "0.11.0")
+ (version "0.13.12")
(source
(origin
(method url-fetch)
(uri (crate-uri "git2" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp"))))
+ (base32 "0912gv7mvqzdlgkzny0z7ph07g2dmkmz8hp6bvyziy6p7011lvya"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-libc" ,rust-libc-0.2)
- ("rust-libgit2-sys" ,rust-libgit2-sys-0.10)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.12)
("rust-log" ,rust-log-0.4)
("rust-openssl-probe" ,rust-openssl-probe-0.1)
("rust-openssl-sys" ,rust-openssl-sys-0.9)
("rust-url" ,rust-url-2))
#:cargo-development-inputs
- (("rust-docopt" ,rust-docopt-1.1)
- ("rust-serde" ,rust-serde-1)
- ("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-tempfile" ,rust-tempfile-3)
- ("rust-thread-id" ,rust-thread-id-3)
+ (("rust-structopt" ,rust-structopt-0.3)
("rust-time" ,rust-time-0.1))))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("pkg-config" ,pkg-config)
+ ("git" ,git-minimal))) ;for a single test
(inputs
`(("libgit2" ,libgit2)
("libssh2" ,libssh2)
@@ -10567,10 +10562,39 @@ DWARF debugging format.")
(home-page "https://github.com/rust-lang/git2-rs")
(synopsis "Rust bindings to libgit2")
(description
- "Bindings to libgit2 for interoperating with git repositories.
-This library is both threadsafe and memory safe and allows both
+ "This package provides bindings to libgit2 for interoperating with git
+repositories. This library is both threadsafe and memory safe and allows both
reading and writing git repositories.")
- (license (list license:asl2.0 license:expat))))
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-git2-0.11
+ (package
+ (inherit rust-git2-0.13)
+ (name "rust-git2")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "git2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i0fgsr91r97hsjbgqnymkcyiyg0057m7m04116k3vmyqpvrwlbp"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libgit2-sys" ,rust-libgit2-sys-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-openssl-probe" ,rust-openssl-probe-0.1)
+ ("rust-openssl-sys" ,rust-openssl-sys-0.9)
+ ("rust-url" ,rust-url-2))
+ #:cargo-development-inputs
+ (("rust-docopt" ,rust-docopt-1.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thread-id" ,rust-thread-id-3)
+ ("rust-time" ,rust-time-0.1))))))
(define-public rust-git2-0.9
(package
- 08/16: gnu: Add rust-path-abs-0.5., (continued)
- 08/16: gnu: Add rust-path-abs-0.5., guix-commits, 2020/12/05
- 01/16: gnu: rust-predicates-1: Update to 1.0.5., guix-commits, 2020/12/05
- 14/16: gnu: Add rust-syntect-4., guix-commits, 2020/12/05
- 04/16: gnu: Add rust-fancy-regex-0.3., guix-commits, 2020/12/05
- 02/16: gnu: Add rust-plist-1., guix-commits, 2020/12/05
- 13/16: gnu: Add rust-onig-6., guix-commits, 2020/12/05
- 06/16: gnu: Add rust-semver-parser-0.10., guix-commits, 2020/12/05
- 07/16: gnu: Add rust-semver-0.11., guix-commits, 2020/12/05
- 15/16: gnu: Add rust-libgit2-sys-0.12., guix-commits, 2020/12/05
- 03/16: gnu: Add rust-wild-2., guix-commits, 2020/12/05
- 16/16: gnu: Add rust-git2-0.13.,
guix-commits <=