From 9e1aeb3d4341a19b7a0c0ce4dc2fafa16a8a06f3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Mar 2024 10:17:14 +0200 Subject: [PATCH] gnu: Add rust-gix-lock-12. * gnu/packages/crates-vcs.scm (rust-gix-lock-12): New variable. (rust-gix-lock-11): Inherit from rust-gix-lock-12. Change-Id: I6d79aebe3a31bb25b4deade6545a014f57ac74f8 --- gnu/packages/crates-vcs.scm | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 1ac57d98cf..292e1cfdc3 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -2356,8 +2356,32 @@ (define-public rust-gix-index-0.17 ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-lock-12 + (package + (name "rust-gix-lock") + (version "12.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "001bh0yx1xnkhnbkfj3p3v649sp5hypm4pgq9jsk1qpijy9l62pl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-12) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/Byron/gitoxide") + (synopsis "Git style lock files implemented in Rust") + (description "Part of Gitoxide, a pure rust implementation of Git. This +package provides git style lock files.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gix-lock-11 (package + (inherit rust-gix-lock-12) (name "rust-gix-lock") (version "11.0.1") (source @@ -2367,17 +2391,11 @@ (define-public rust-gix-lock-11 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0drgl9qhkvlhjl0jc0lh2h7h3by1yg9wx4a8cqss8c4qlbk6ap3y")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gix-tempfile" ,rust-gix-tempfile-11) ("rust-gix-utils" ,rust-gix-utils-0.1) ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Byron/gitoxide") - (synopsis "Git style lock files implemented in Rust") - (description "Part of Gitoxide, a pure rust implementation of Git. This -package provides git style lock files.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gix-lock-10 (package