guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/12: gnu: Add perl-text-patch.


From: guix-commits
Subject: 11/12: gnu: Add perl-text-patch.
Date: Sun, 14 Jun 2020 06:41:52 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit e8356966b7c77c5046e4603e33da456119a37f8c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jun 14 11:47:10 2020 +0200

    gnu: Add perl-text-patch.
    
    * gnu/packages/perl.scm (perl-text-patch): New variable.
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 86c9f0e..fab366f 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9813,6 +9813,27 @@ template engine, for when you need speed rather than 
complex features,
 yet need more features than simple variable substitution.")
     (license (package-license perl))))
 
+(define-public perl-text-patch
+  (package
+    (name "perl-text-patch")
+    (version "1.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/C/CA/CADE/"
+                           "Text-Patch-" version ".tar.gz"))
+       (sha256
+        (base32 "1k1xbhxwn9fymqqwnam9pm7hr2p5ikq6dk578qw18gkap9hqxwga"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-text-diff" ,perl-text-diff)))
+    (home-page "https://metacpan.org/release/Text-Patch";)
+    (synopsis "Patches text with given patch")
+    (description "Text::Patch combines source text with given
+diff (difference) data.  Diff data is produced by Text::Diff module or
+by the standard @code{diff} utility.")
+    (license gpl2+)))
+
 (define-public perl-text-roman
   (package
     (name "perl-text-roman")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]