[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/16: gnu: Add perl-sgmls.
From: |
guix-commits |
Subject: |
07/16: gnu: Add perl-sgmls. |
Date: |
Thu, 14 Jan 2021 09:58:49 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit b4b6f676cd35c2e45934e9f5a6346ce6265e1c40
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 28 16:12:58 2020 -0500
gnu: Add perl-sgmls.
* gnu/packages/perl.scm (perl-sgmls): New variable.
---
gnu/packages/perl.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 896a474..da05f7a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11141,6 +11141,39 @@ package takes some liberties with the SDL API, and
attempts to adhere to the
spirit of both the SDL and Perl.")
(license license:lgpl2.1)))
+(define-public perl-sgmls
+ (package
+ (name "perl-sgmls")
+ (version "1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RA/RAAB/SGMLSpm-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1gdjf3mcz2bxir0l9iljxiz6qqqg3a9gg23y5wjg538w552r432m"))))
+ (build-system perl-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'install 'wrap-script
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (site (string-append out "/lib/perl5/site_perl")))
+ (with-directory-excursion out
+ (rename-file "bin/sgmlspl.pl" "bin/sgmlspl")
+ (wrap-program "bin/sgmlspl"
+ `("PERL5LIB" suffix (,site))))
+ #t))))))
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)))
+ (home-page "https://metacpan.org/release/RAAB/SGMLSpm-1.1")
+ (synopsis "Perl module for processing SGML parser output")
+ (description "This package contains @code{SGMLS.pm}, a perl5 class library
+for parsing the output from an SGML parser such as OpenSP. It also includes
+the @command{sgmlspl} command, an Perl script showcasing how the library can
+be used.")
+ (license license:gpl2+)))
+
(define-public perl-shell-command
(package
(name "perl-shell-command")
- branch master updated (88eb537 -> e45dcf4), guix-commits, 2021/01/14
- 01/16: gnu: opensp: Move package to (gnu packages xml)., guix-commits, 2021/01/14
- 04/16: gnu: Add iso-8879-entities., guix-commits, 2021/01/14
- 08/16: gnu: Add docbook-sgml-3.1., guix-commits, 2021/01/14
- 02/16: gnu: opensp: Add doc output, enable tests and add search path., guix-commits, 2021/01/14
- 03/16: gnu: Add openjade., guix-commits, 2021/01/14
- 05/16: gnu: Add docbook-sgml., guix-commits, 2021/01/14
- 06/16: gnu: Add docbook-dsssl., guix-commits, 2021/01/14
- 07/16: gnu: Add perl-sgmls.,
guix-commits <=
- 09/16: gnu: Add texlive-marvosym., guix-commits, 2021/01/14
- 12/16: gnu: Add texlive-jknappen., guix-commits, 2021/01/14
- 10/16: gnu: Add config., guix-commits, 2021/01/14
- 11/16: gnu: Add texlive-tipa., guix-commits, 2021/01/14
- 13/16: gnu: Add texlive-courier., guix-commits, 2021/01/14
- 14/16: gnu: Add texlive-helvetic., guix-commits, 2021/01/14
- 15/16: gnu: Add texlive-wasy., guix-commits, 2021/01/14
- 16/16: gnu: texlive-wasysym: Update synopsis and description., guix-commits, 2021/01/14