mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: stgit-2: Allow building with newer dependencies.
* gnu/packages/version-control.scm (stgit-2)[source]: Add snippet to allow building with newer dependencies. Change-Id: Ia1309c0656a3f0df2529f52e2ddd4bfbd59e163d
This commit is contained in:
parent
cf218b1575
commit
4be051fffb
1 changed files with 6 additions and 1 deletions
|
@ -1635,7 +1635,12 @@ (define-public stgit-2
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj"))))
|
||||
(base32 "0cgv7chxqkjaqmzi4691in26j2fm8r0vanw8xzb9cqnz6350wvvj"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin (substitute* (find-files "." "^Cargo\\.toml$")
|
||||
(("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
|
||||
(string-append "\"^" version)))))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1)
|
||||
|
|
Loading…
Reference in a new issue