guix-commits
[Top][All Lists]
Advanced

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

10/10: gnu: Add perl-types-path-tiny.


From: Ricardo Wurmus
Subject: 10/10: gnu: Add perl-types-path-tiny.
Date: Tue, 24 Oct 2017 12:38:45 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 22473f6964096fe5d938b7955275c135252cb002
Author: Petter <address@hidden>
Date:   Tue Oct 24 18:26:57 2017 +0200

    gnu: Add perl-types-path-tiny.
    
    * gnu/packages/perl.scm (perl-types-path-tiny): New variable.
    
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e1e15bd..c392c30 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -8736,6 +8736,32 @@ package has only core dependencies, and does not depend 
on @code{Type::Tiny},
 so other data validation frameworks might also consider using it.")
     (license perl-license)))
 
+(define-public perl-types-path-tiny
+  (package
+    (name "perl-types-path-tiny")
+    (version "0.005")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
+                           "Types-Path-Tiny-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09nf167ssi4rgj8hhzylwp3zdx61njdpyfri43arcmk9aqn7f0pp"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-file-pushd" ,perl-file-pushd)
+       ("perl-path-tiny" ,perl-path-tiny)
+       ("perl-type-tiny" ,perl-type-tiny)
+       ("perl-exporter-tiny" ,perl-exporter-tiny)))
+    (home-page "http://search.cpan.org/dist/Types-Path-Tiny/";)
+    (synopsis "Types and coercions for Moose and Moo")
+    (description "This module provides @code{Path::Tiny} types for Moose, Moo,
+etc.  It handles two important types of coercion: coercing objects with
+overloaded stringification, and coercing to absolute paths.  It also can check
+to ensure that files or directories exist.")
+    (license artistic2.0)))
+
 (define-public perl-types-serialiser
   (package
     (name "perl-types-serialiser")



reply via email to

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