mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: java-xom: Don't use unstable tarball.
* gnu/packages/xml.scm (java-xom)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Add 'make-git-checkout-writable' phase.
This commit is contained in:
parent
a4b96726b5
commit
eed5e162ad
1 changed files with 11 additions and 5 deletions
|
@ -1651,12 +1651,14 @@ (define-public java-xom
|
||||||
(name "java-xom")
|
(name "java-xom")
|
||||||
(version "127")
|
(version "127")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/elharo/xom/archive/XOM_"
|
(uri (git-reference
|
||||||
version ".tar.gz"))
|
(url "https://github.com/elharo/xom.git")
|
||||||
|
(commit (string-append "XOM_" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04m69db1irqja12a9rfxrac8cbn9psqa1k136wh4ls4pxfsdr5wg"))
|
"1jh6y03g5zzdhsb5jm6ms1xnamr460qmn96y3w6aw0ikfwqlg0bq"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -1670,6 +1672,10 @@ (define-public java-xom
|
||||||
#:tests? #f ; no tests
|
#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'make-git-checkout-writable
|
||||||
|
(lambda _
|
||||||
|
(for-each make-file-writable (find-files "."))
|
||||||
|
#t))
|
||||||
(add-before 'configure 'fix-tagsoup-dep
|
(add-before 'configure 'fix-tagsoup-dep
|
||||||
(lambda _
|
(lambda _
|
||||||
;; FIXME: Where is tagsoup source?
|
;; FIXME: Where is tagsoup source?
|
||||||
|
|
Loading…
Reference in a new issue