diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-10-22 23:15:57 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-10-22 23:15:57 +0300 |
commit | 0aa4140f02d924f9e1a0e0b0ea78d1f72a2d166e (patch) | |
tree | e0f8b7c08efbc8eaacaafc71fb896426dc7f782d /gnu/packages | |
parent | bb2701b9111a3d82a82ceaaf2b22b51ecd8ac21f (diff) |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/rust-apps.scm | 9 |
1 files 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 |