From 8cfc73828fb61d66c225155f3e76ccc634801f95 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:56:20 -0700 Subject: [PATCH 09/13] gnu: Add ghc-storable-tuple. --- gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index dfd5981f39..9c8d0c3d12 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -4516,6 +4516,35 @@ vector types are supported. Specific instances are provided for unboxed, boxed and storable vectors.") (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))) + (arguments `(#:tests? #f)) + (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-bloomfilter (package (name "ghc-bloomfilter") -- 2.22.0