Patchwork [08/15] gnu: Add ghc-storable-complex.

login
register
mail settings
Submitter Federico Beffa
Date Oct. 16, 2016, 3:31 p.m.
Message ID <CAKrPhPM_+m=dNT=aJdndWGAQ5yE=RrDm9YwHhOcT0q7JHp8M-g@mail.gmail.com>
Download mbox | patch
Permalink /patch/16556/
State New
Headers show

Comments

Federico Beffa - Oct. 16, 2016, 3:31 p.m.

Patch

From 1c9a41b100d482f25bd7b3c930afa56fb630223b Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Sun, 16 Oct 2016 16:19:32 +0200
Subject: [PATCH 08/15] gnu: Add ghc-storable-complex.

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 52e4bc3..50b09ef 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7598,4 +7598,25 @@  versions of these packages distributed with different versions of GHC.
 In particular, this library supports working with POSIX files that have paths
 which can't be decoded in the current locale encoding.")
     (license license:expat)))
+
+(define-public ghc-storable-complex
+  (package
+    (name "ghc-storable-complex")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/storable-complex/storable-complex-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "01kwwkpbfjrv26vj83cd92px5qbq1bpgxj0r45534aksqhany1xb"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/cartazio/storable-complex")
+    (synopsis "Haskell Storable instance for Complex")
+    (description "This package provides a Haskell library including a
+Storable instance for Complex which is binary compatible with C99, C++
+and Fortran complex data types.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.7.4