summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-16 23:27:03 +0000
committerpho <pho@pkgsrc.org>2020-01-16 23:27:03 +0000
commit20b15d64880ed806807b6692c399ddb1549bcbc7 (patch)
tree0954fe4d18d9fd93796f437af2e258054979b2f6 /time
parentbb102426f6e269cc40e95c94653b6a18f91ec355 (diff)
downloadpkgsrc-20b15d64880ed806807b6692c399ddb1549bcbc7.tar.gz
Import hourglass-0.2.12
Simple time library focusing on simple but powerful and performant API The backbone of the library are the Timeable and Time type classes. Each Timeable instances can be converted to type that has a Time instances, and thus are different representations of current time.
Diffstat (limited to 'time')
-rw-r--r--time/hs-hourglass/DESCR6
-rw-r--r--time/hs-hourglass/Makefile11
-rw-r--r--time/hs-hourglass/buildlink3.mk13
-rw-r--r--time/hs-hourglass/distinfo6
4 files changed, 36 insertions, 0 deletions
diff --git a/time/hs-hourglass/DESCR b/time/hs-hourglass/DESCR
new file mode 100644
index 00000000000..141e841fd28
--- /dev/null
+++ b/time/hs-hourglass/DESCR
@@ -0,0 +1,6 @@
+Simple time library focusing on simple but powerful and performant API
+
+The backbone of the library are the Timeable and Time type classes.
+
+Each Timeable instances can be converted to type that has a Time
+instances, and thus are different representations of current time.
diff --git a/time/hs-hourglass/Makefile b/time/hs-hourglass/Makefile
new file mode 100644
index 00000000000..adf53722aa4
--- /dev/null
+++ b/time/hs-hourglass/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2020/01/16 23:27:03 pho Exp $
+
+DISTNAME= hourglass-0.2.12
+CATEGORIES= time
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Simple performant time related library
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/hs-hourglass/buildlink3.mk b/time/hs-hourglass/buildlink3.mk
new file mode 100644
index 00000000000..0f0495a8849
--- /dev/null
+++ b/time/hs-hourglass/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/16 23:27:03 pho Exp $
+
+BUILDLINK_TREE+= hs-hourglass
+
+.if !defined(HS_HOURGLASS_BUILDLINK3_MK)
+HS_HOURGLASS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hourglass+= hs-hourglass>=0.2.12
+BUILDLINK_ABI_DEPENDS.hs-hourglass+= hs-hourglass>=0.2.12
+BUILDLINK_PKGSRCDIR.hs-hourglass?= ../../time/hs-hourglass
+.endif # HS_HOURGLASS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-hourglass
diff --git a/time/hs-hourglass/distinfo b/time/hs-hourglass/distinfo
new file mode 100644
index 00000000000..1a9e31a3c7f
--- /dev/null
+++ b/time/hs-hourglass/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/16 23:27:03 pho Exp $
+
+SHA1 (hourglass-0.2.12.tar.gz) = a37ea48770c72df30b162db8353e71972a836b48
+RMD160 (hourglass-0.2.12.tar.gz) = 6d5bf3030c392f2c7ba524a0872ba7ac0ace7779
+SHA512 (hourglass-0.2.12.tar.gz) = c748d7f875ca0b1ea9034dba1a5cfa3fc4e51613ce24c90b54856fdc385d9ccc5eda3559f1674abf3ea966cc7851891dfee86bad897062a97a79db8408574bdc
+Size (hourglass-0.2.12.tar.gz) = 25797 bytes