mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: opensp: Move package to (gnu packages xml).
* gnu/packages/finance.scm (opensp): Move to... * gnu/packages/xml.scm (opensp): ... here.
This commit is contained in:
parent
88eb5370ec
commit
a34eafce27
2 changed files with 51 additions and 50 deletions
|
@ -1380,56 +1380,6 @@ (define-public libofx
|
|||
@end enumerate")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public opensp
|
||||
(package
|
||||
(name "opensp")
|
||||
(version "1.5.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/openjade/opensp/"
|
||||
version "/OpenSP-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)))
|
||||
(inputs
|
||||
`(("docbook-xml" ,docbook-xml-4.1.2)
|
||||
("docbook-xsl" ,docbook-xsl)
|
||||
("xmlto" ,xmlto)))
|
||||
(arguments
|
||||
`(;; TODO: Fix and enable tests.
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-docbook-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
|
||||
"/xml/dtd/docbook"))
|
||||
(xsldoc (string-append (assoc-ref inputs "docbook-xsl")
|
||||
"/xml/xsl/docbook-xsl-"
|
||||
,(package-version docbook-xsl))))
|
||||
(substitute* (find-files "docsrc" "\\.xml$")
|
||||
(("/usr/share/sgml/docbook/xml-dtd-4.1.2") xmldoc)
|
||||
(("http://.*/docbookx\\.dtd")
|
||||
(string-append xmldoc "/docbookx.dtd")))
|
||||
;; Directly pass the path to the stylesheet to xmlto.
|
||||
(substitute* "docsrc/Makefile.in"
|
||||
(("\\$\\(XMLTO\\)")
|
||||
(string-append "$(XMLTO) -x " xsldoc
|
||||
"/manpages/docbook.xsl")))
|
||||
#t))))))
|
||||
(home-page "http://openjade.sourceforge.net/")
|
||||
(synopsis "Suite of SGML/XML processing tools")
|
||||
(description "OpenSP is an object-oriented toolkit for SGML parsing and
|
||||
entity management.")
|
||||
(license
|
||||
;; expat license with added clause regarding advertising
|
||||
(license:non-copyleft
|
||||
"file://COPYING"
|
||||
"See COPYING in the distribution."))))
|
||||
|
||||
(define-public bitcoin-unlimited
|
||||
(package
|
||||
(name "bitcoin-unlimited")
|
||||
|
|
|
@ -52,6 +52,7 @@ (define-module (gnu packages xml)
|
|||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages docbook)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gnupg)
|
||||
|
@ -2208,6 +2209,56 @@ (define-public xmlrpc-c
|
|||
modular implementation of XML-RPC for C and C++.")
|
||||
(license (list license:psfl license:expat))))
|
||||
|
||||
(define-public opensp
|
||||
(package
|
||||
(name "opensp")
|
||||
(version "1.5.2")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/openjade/opensp/"
|
||||
version "/OpenSP-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1khpasr6l0a8nfz6kcf3s81vgdab8fm2dj291n5r2s53k228kx2p"))))
|
||||
(build-system gnu-build-system)
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)))
|
||||
(inputs
|
||||
`(("docbook-xml" ,docbook-xml-4.1.2)
|
||||
("docbook-xsl" ,docbook-xsl)
|
||||
("xmlto" ,xmlto)))
|
||||
(arguments
|
||||
`(;; TODO: Fix and enable tests.
|
||||
#:tests? #f
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-docbook-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
|
||||
"/xml/dtd/docbook"))
|
||||
(xsldoc (string-append (assoc-ref inputs "docbook-xsl")
|
||||
"/xml/xsl/docbook-xsl-"
|
||||
,(package-version docbook-xsl))))
|
||||
(substitute* (find-files "docsrc" "\\.xml$")
|
||||
(("/usr/share/sgml/docbook/xml-dtd-4.1.2") xmldoc)
|
||||
(("http://.*/docbookx\\.dtd")
|
||||
(string-append xmldoc "/docbookx.dtd")))
|
||||
;; Directly pass the path to the stylesheet to xmlto.
|
||||
(substitute* "docsrc/Makefile.in"
|
||||
(("\\$\\(XMLTO\\)")
|
||||
(string-append "$(XMLTO) -x " xsldoc
|
||||
"/manpages/docbook.xsl")))
|
||||
#t))))))
|
||||
(home-page "http://openjade.sourceforge.net/")
|
||||
(synopsis "Suite of SGML/XML processing tools")
|
||||
(description "OpenSP is an object-oriented toolkit for SGML parsing and
|
||||
entity management.")
|
||||
(license
|
||||
;; expat license with added clause regarding advertising
|
||||
(license:non-copyleft
|
||||
"file://COPYING"
|
||||
"See COPYING in the distribution."))))
|
||||
|
||||
(define-public python-elementpath
|
||||
(package
|
||||
(name "python-elementpath")
|
||||
|
|
Loading…
Reference in a new issue