guix-commits
[Top][All Lists]
Advanced

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

09/14: gnu: Add ghc-storable-tuple.


From: guix-commits
Subject: 09/14: gnu: Add ghc-storable-tuple.
Date: Fri, 16 Aug 2019 14:57:35 -0400 (EDT)

rob pushed a commit to branch wip-haskell-updates
in repository guix.

commit 8a9238fbec973cca91a1b9a15cf7a2176e1e2eb5
Author: John Soo <address@hidden>
Date:   Sun Jul 7 17:56:20 2019 -0700

    gnu: Add ghc-storable-tuple.
    
    * gnu/packages/haskell.scm (ghc-storable-tuple): New variable.
---
 gnu/packages/haskell-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index d8191c7..5c77017 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9456,6 +9456,34 @@ struct.  However, the module generates the smallest 
layout that is possible
 with respect to the alignment of the record elements.")
     (license license:bsd-3)))
 
+(define-public ghc-storable-tuple
+  (package
+    (name "ghc-storable-tuple")
+    (version "0.0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://hackage.haskell.org/package/storable-tuple/storable-tuple-";
+         version ".tar.gz"))
+       (sha256
+        (base32
+         "0dfzhxgkn1l6ls7zh6iifhyvhm8l47n40z0ar23c6ibsa94w1ynw"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-storable-record" ,ghc-storable-record)
+       ("ghc-utility-ht" ,ghc-utility-ht)
+       ("ghc-base-orphans" ,ghc-base-orphans)))
+    (home-page "https://hackage.haskell.org/package/storable-tuple";)
+    (synopsis "Storable instance for pairs and triples")
+    (description
+     "Provides a Storable instance for pair and triple which should be binary
+compatible with C99 and C++.  The only purpose of this package is to provide a
+standard location for this instance so that other packages needing this
+instance can play nicely together.")
+    (license license:bsd-3)))
+
 (define-public ghc-storablevector
   (package
     (name "ghc-storablevector")



reply via email to

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