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:
parent
bb2701b911
commit
0aa4140f02
1 changed files with 4 additions and 5 deletions
|
|
@ -1843,17 +1843,16 @@ Full featured offline client with caching support.")
|
||||||
(add-after 'unpack 'relax-version-requirements
|
(add-after 'unpack 'relax-version-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Cargo.toml"
|
(substitute* "Cargo.toml"
|
||||||
(("2.5") "2")
|
(("\"~") "\""))))
|
||||||
(("~2.3\"") "2\"")
|
|
||||||
(("~2.33\"") "2\"") ; clap
|
|
||||||
(("3.1") "3"))))
|
|
||||||
(add-after 'install 'install-manual-page
|
(add-after 'install 'install-manual-page
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(man (string-append out "/share/man/man1")))
|
(man (string-append out "/share/man/man1")))
|
||||||
(install-file "Documentation/git-absorb.1" man)))))))
|
(install-file "Documentation/git-absorb.1" man)))))))
|
||||||
|
(native-inputs
|
||||||
|
(list pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list zlib))
|
(list libgit2-1.3 zlib))
|
||||||
(home-page "https://github.com/tummychow/git-absorb")
|
(home-page "https://github.com/tummychow/git-absorb")
|
||||||
(synopsis "Git tool for making automatic fixup commits")
|
(synopsis "Git tool for making automatic fixup commits")
|
||||||
(description
|
(description
|
||||||
|
|
|
||||||
Reference in a new issue