diff options
| author | Hilton Chain <hako@ultrarare.space> | 2025-04-21 19:37:54 +0800 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-08-21 19:08:54 +0800 |
| commit | ffe5149e907eb4fbccbf0b1a92e36ee5431e990a (patch) | |
| tree | 4055e4066610d0b90a482ad625caf9c8a62a59cb /gnu/packages/rust-apps.scm | |
| parent | fff7429ac782084e298a1024f7f57391195d7bfa (diff) | |
gnu: git-absorb: Update to 0.7.0.
* gnu/packages/rust-apps.scm (git-absorb): Update to 0.7.0.
[inputs]: Use ‘cargo-inputs’.
[native-inputs]: Add git-minimal/pinned.
[arguments]: Remove #:cargo-inputs and #:cargo-development-inputs.
<#:phases>: In 'install-manual-page, adjust man page source file name.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[git-absorb]: New entry.
Change-Id: I123afe7985839fbec3e4a6469bb55d1e428ff263
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 296611292a6..65c7da37367 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -3431,7 +3431,7 @@ tools.") (define-public git-absorb (package (name "git-absorb") - (version "0.6.16") + (version "0.7.0") (source (origin ;; crates.io does not include the manual page. @@ -3441,24 +3441,10 @@ tools.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0az15qskgpbsbbm6sx7mqbka85n9j2xk3h2yir0d2wz6myp85475")) - (snippet - #~(begin (delete-file "Documentation/git-absorb.1"))))) + (base32 "1cqz9m5w7sh7pgfcirvdpv6i7l7nfaqbgs88zx0wr5sqg5wk2zky")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-clap" ,rust-clap-4) - ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-4) - ("rust-git2" ,rust-git2-0.19) - ("rust-memchr" ,rust-memchr-2) - ("rust-slog" ,rust-slog-2) - ("rust-slog-async" ,rust-slog-async-2) - ("rust-slog-term" ,rust-slog-term-2)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases (add-after 'install 'install-manual-page @@ -3470,7 +3456,7 @@ tools.") "--no-xmllint" "--doctype=manpage" "--format=manpage" - "git-absorb.txt")) + "git-absorb.adoc")) (install-file "Documentation/git-absorb.1" man)))) (add-after 'install 'install-completions (lambda* (#:key native-inputs outputs #:allow-other-keys) @@ -3501,9 +3487,9 @@ tools.") (if (%current-target-system) (list this-package) '()) - (list asciidoc pkg-config))) + (list asciidoc git-minimal/pinned pkg-config))) (inputs - (list libgit2-1.8 zlib)) + (cons* libgit2-1.9 zlib (cargo-inputs 'git-absorb))) (home-page "https://github.com/tummychow/git-absorb") (synopsis "Git tool for making automatic fixup commits") (description |
