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>
This commit is contained in:
Zheng Junjie 2025-08-21 21:22:47 +08:00 committed by Hilton Chain
parent f0ecb01390
commit 73f943fd9f
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 1076 additions and 1 deletions

View file

@ -10,7 +10,7 @@
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom> ;;; 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 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.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.") (description "This package provides a command-line JSON viewer.")
(license license:expat))) (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 (define-public just
(package (package
(name "just") (name "just")

File diff suppressed because it is too large Load diff