Archived
1
0
Fork 0

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.
This commit is contained in:
Efraim Flashner 2022-10-22 23:15:57 +03:00
parent bb2701b911
commit 0aa4140f02
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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