summaryrefslogtreecommitdiff
path: root/gnu/packages/rust-apps.scm
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-08-21 21:22:47 +0800
committerHilton Chain <hako@ultrarare.space>2025-08-22 22:09:13 +0800
commit73f943fd9f4cc69bd0463e6c64abeb65e060e1da (patch)
treefd43db0d2b3ea9df0527e7f808595455f4154bfd /gnu/packages/rust-apps.scm
parentf0ecb013907c1642b928a8df6f40237ea476dd77 (diff)
gnu: Add jujutsu.
* gnu/packages/rust-crates.scm(lookup-cargo-inputs): Add jujutsu. * gnu/packages/rust-apps.scm (jujutsu): New variable. Change-Id: I1527b8c057827c327a701ed135b84e56f166f732 Signed-off-by: Hilton Chain <hako@ultrarare.space> Modified-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r--gnu/packages/rust-apps.scm38
1 files changed, 37 insertions, 1 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index d51cf367758..024be3f141a 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
-;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021, 2022, 2025 Zheng Junjie <z572@z572.online>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com>
@@ -1506,6 +1506,42 @@ bar. It is also compatible with sway.")
(description "This package provides a command-line JSON viewer.")
(license license:expat)))
+(define-public jujutsu
+ (package
+ (name "jujutsu")
+ (version "0.32.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jj-vcs/jj")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cib02kyzkfznzww2iz7wixphxradwhg8agr8hyi62alr37r8ljc"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list #:install-source? #f
+ #:cargo-install-paths ''("cli")))
+ (native-inputs
+ (list pkg-config
+ ;; For tests.
+ git
+ openssh))
+ (inputs (cons* zlib openssl libssh2 libgit2-1.9 (cargo-inputs 'jujutsu)))
+ (home-page "https://github.com/jj-vcs/jj")
+ (synopsis "Git-compatible distributed version control system")
+ (description
+ "Jujutsu is a version control system designed to be easy to use. It uses a
+real commit to represent the working copy, records all operations performed on
+the repository and supports automatic conflict resolution.
+
+Although Jujutsu uses a Git repository as its storage backend, it internally
+abstracts the user interface and version control algorithms from the storage
+systems. This opens possibility for it to serve as a version control system
+with other physical backends.")
+ (license license:asl2.0)))
+
(define-public just
(package
(name "just")