mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: docbook-xsl: Delete bundled jars.
* gnu/packages/docbook.scm (docbook-xsl)[source](modules, snippet): New fields.
This commit is contained in:
parent
fa258af20c
commit
52f1687dc7
1 changed files with 7 additions and 3 deletions
|
@ -138,11 +138,15 @@ (define-public docbook-xsl
|
|||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/docbook/docbook-xsl/"
|
||||
version "/docbook-xsl-" version ".tar.bz2"))
|
||||
;; Note: If removing all patches, the XZ dependency is no longer needed.
|
||||
(patches (search-patches "docbook-xsl-nonrecursive-string-subst.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj"))))
|
||||
"0s59lihif2fr7rznckxr2kfyrvkirv76r1zvidp9b5mj28p4apvj"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
(for-each delete-file (find-files "." "\\.jar$"))
|
||||
#t))))
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:builder (let ((name-version (string-append ,name "-" ,version)))
|
||||
|
@ -168,7 +172,7 @@ (define-public docbook-xsl
|
|||
#t))
|
||||
#:modules ((guix build utils))))
|
||||
(native-inputs `(("bzip2" ,bzip2)
|
||||
("xz" ,xz)
|
||||
("xz" ,xz) ;needed for repacked tarballs
|
||||
("tar" ,tar)))
|
||||
(home-page "http://docbook.org")
|
||||
(synopsis "DocBook XSL style sheets for document authoring")
|
||||
|
|
Loading…
Reference in a new issue