gnu: Add perl-syntax-keyword-try
* gnu/packages/perl.scm (perl-syntax-keyword-try): New variable. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
		
							parent
							
								
									fe2626b4b3
								
							
						
					
					
						commit
						c304d22d69
					
				
					 1 changed files with 24 additions and 0 deletions
				
			
		|  | @ -9997,6 +9997,30 @@ mechanism.  The module augments the standard Perl syntax with two new | ||||||
| statements: @code{switch} and @code{case}.") | statements: @code{switch} and @code{case}.") | ||||||
|     (license (package-license perl)))) |     (license (package-license perl)))) | ||||||
| 
 | 
 | ||||||
|  | (define-public perl-syntax-keyword-try | ||||||
|  |   (package | ||||||
|  |     (name "perl-syntax-keyword-try") | ||||||
|  |     (version "0.28") | ||||||
|  |     (source (origin | ||||||
|  |               (method url-fetch) | ||||||
|  |               (uri (string-append | ||||||
|  |                     "mirror://cpan/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-" | ||||||
|  |                     version ".tar.gz")) | ||||||
|  |               (sha256 | ||||||
|  |                (base32 | ||||||
|  |                 "1j02z9w0p9a77maf62cy5324vmc01hks0bfm5qjidc50hafmzbfc")))) | ||||||
|  |     (build-system perl-build-system) | ||||||
|  |     (native-inputs (list perl-module-build)) | ||||||
|  |     (inputs (list perl-xs-parse-keyword)) | ||||||
|  |     (home-page "https://metacpan.org/pod/Syntax::Keyword::Try") | ||||||
|  |     (synopsis "Try/catch/finally syntax for perl") | ||||||
|  |     (description | ||||||
|  |      "This module provides a syntax plugin that implements | ||||||
|  | exception-handling semantics in a form familiar to users of other | ||||||
|  | languages, being built on a block labeled with the @code{try} keyword, | ||||||
|  | followed by at least one of a @code{catch} or @code{finally} block.") | ||||||
|  |     (license (package-license perl)))) | ||||||
|  | 
 | ||||||
| (define-public perl-sys-cpu | (define-public perl-sys-cpu | ||||||
|   (package |   (package | ||||||
|     (name "perl-sys-cpu") |     (name "perl-sys-cpu") | ||||||
|  |  | ||||||
		Reference in a new issue