guix-patches
[Top][All Lists]
Advanced

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

[bug#28884] [PATCH 30/38] gnu: Add ghc-uuid.


From: rsiddharth
Subject: [bug#28884] [PATCH 30/38] gnu: Add ghc-uuid.
Date: Wed, 18 Oct 2017 03:07:50 +0000

* gnu/packages/haskell.scm (ghc-uuid): New variable.
---
 gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 087fcbf7f..2e30aea41 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9885,6 +9885,41 @@ for Haskell")
     (description "This Haskell library contains type definitions for
 Universally Unique Identifiers and basic conversion functions.
 
+See @uref{http://en.wikipedia.org/wiki/UUID} for the general idea.")
+    (license license:bsd-3)))
+
+(define-public ghc-uuid
+  (package
+    (name "ghc-uuid")
+    (version "1.3.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "uuid-" version "/"
+                           "uuid-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-cryptohash-sha1" ,ghc-cryptohash-sha1)
+              ("ghc-cryptohash-md5" ,ghc-cryptohash-md5)
+              ("ghc-entropy" ,ghc-entropy)
+              ("ghc-network-info" ,ghc-network-info)
+              ("ghc-random" ,ghc-random)
+              ("ghc-text" ,ghc-text)
+              ("ghc-uuid-types" ,ghc-uuid-types)))
+    (native-inputs `(("ghc-hunit" ,ghc-hunit)
+                     ("ghc-quickcheck" ,ghc-quickcheck)
+                     ("ghc-tasty" ,ghc-tasty)
+                     ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+                     ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
+    (home-page "https://github.com/hvr/uuid";)
+    (synopsis "Haskell library for creating, comparing, parsing and printing
+UUID")
+    (description "This Haskell library provides utilities creating, comparing,
+parsing and printing Universally Unique Identifiers.
+
 See @uref{http://en.wikipedia.org/wiki/UUID} for the general idea.")
     (license license:bsd-3)))
 
-- 
2.15.0.rc0






reply via email to

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