guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: git-absorb: Fix build.


From: guix-commits
Subject: branch master updated: gnu: git-absorb: Fix build.
Date: Sat, 22 Oct 2022 16:19:41 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0aa4140f02 gnu: git-absorb: Fix build.
0aa4140f02 is described below

commit 0aa4140f02d924f9e1a0e0b0ea78d1f72a2d166e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Oct 22 23:15:57 2022 +0300

    gnu: git-absorb: Fix build.
    
    * gnu/packages/rust-apps.scm (git-absorb)[arguments]: Adjust custom
    'relax-version-requirements phase to make all crate requirements follow
    standard cargo semver levels.
    [native-inputs]: Add pkg-config.
    [inputs]: Add libgit2-1.3.
---
 gnu/packages/rust-apps.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 74581bc1e5..86d8fdfa69 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1843,17 +1843,16 @@ Full featured offline client with caching support.")
          (add-after 'unpack 'relax-version-requirements
            (lambda _
              (substitute* "Cargo.toml"
-               (("2.5") "2")
-               (("~2.3\"") "2\"")
-               (("~2.33\"") "2\"")      ; clap
-               (("3.1") "3"))))
+               (("\"~") "\""))))
          (add-after 'install 'install-manual-page
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out   (assoc-ref outputs "out"))
                     (man   (string-append out "/share/man/man1")))
                (install-file "Documentation/git-absorb.1" man)))))))
+    (native-inputs
+     (list pkg-config))
     (inputs
-     (list zlib))
+     (list libgit2-1.3 zlib))
     (home-page "https://github.com/tummychow/git-absorb";)
     (synopsis "Git tool for making automatic fixup commits")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]