perl-type-tiny: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
diff --git a/package/Config.in b/package/Config.in
index 7788c1c..6207767 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -761,6 +761,7 @@
source "package/perl-time-parsedate/Config.in"
source "package/perl-timedate/Config.in"
source "package/perl-try-tiny/Config.in"
+ source "package/perl-type-tiny/Config.in"
source "package/perl-uri/Config.in"
source "package/perl-www-form-urlencoded/Config.in"
source "package/perl-www-robotrules/Config.in"
diff --git a/package/perl-type-tiny/Config.in b/package/perl-type-tiny/Config.in
new file mode 100644
index 0000000..c4b956f
--- /dev/null
+++ b/package/perl-type-tiny/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_TYPE_TINY
+ bool "perl-type-tiny"
+ select BR2_PACKAGE_PERL_EXPORTER_TINY # runtime
+ help
+ tiny, yet Moo(se)-compatible type constraint
+
+ https://metacpan.org/release/Type-Tiny
diff --git a/package/perl-type-tiny/perl-type-tiny.hash b/package/perl-type-tiny/perl-type-tiny.hash
new file mode 100644
index 0000000..a9e028f
--- /dev/null
+++ b/package/perl-type-tiny/perl-type-tiny.hash
@@ -0,0 +1,7 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 fad12549fe5b904173e18a05e82e5166 Type-Tiny-1.004002.tar.gz
+sha256 e52c7e9593052aed157a15d473b5c25a1dbb3454bf3cd6913df94cc9bb2be707 Type-Tiny-1.004002.tar.gz
+
+# computed by scancpan
+sha256 0caa5aef37fdb3eddc52419d193df594550c621b84f5990830482f9f8226adde COPYRIGHT
+sha256 c614dadb36b02257ab492e3d4341e52f3f03fe8147cafd2b7da03b3b5c0361e9 LICENSE
diff --git a/package/perl-type-tiny/perl-type-tiny.mk b/package/perl-type-tiny/perl-type-tiny.mk
new file mode 100644
index 0000000..7a433d6
--- /dev/null
+++ b/package/perl-type-tiny/perl-type-tiny.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-type-tiny
+#
+################################################################################
+
+PERL_TYPE_TINY_VERSION = 1.004002
+PERL_TYPE_TINY_SOURCE = Type-Tiny-$(PERL_TYPE_TINY_VERSION).tar.gz
+PERL_TYPE_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOBYINK
+PERL_TYPE_TINY_LICENSE = Artistic or GPL-1.0+
+PERL_TYPE_TINY_LICENSE_FILES = COPYRIGHT LICENSE
+
+$(eval $(perl-package))