diff mbox series

[bug#52527,1/4] gnu: Add ghc-data-binary-ieee754.

Message ID 336160615ebdb1893d39a88f5b935b8c6b86eec6.1639609080.git.avityazev@posteo.org
State New
Headers show
Series gnu: Add ghc-tidal. | expand

Commit Message

Aleksandr Vityazev Dec. 15, 2021, 11:01 p.m. UTC
* gnu/packages/haskell-xyz.scm (ghc-data-binary-ieee754): New variable.
---
 gnu/packages/haskell-xyz.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f5d15bcc2f..476a2b98a6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -3011,6 +3011,22 @@  (define-public ghc-data-ordlist
      "This module provides set and multiset operations on ordered lists.")
     (license license:bsd-3)))
 
+(define-public ghc-data-binary-ieee754
+  (package
+    (name "ghc-data-binary-ieee754")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "data-binary-ieee754" version))
+       (sha256
+        (base32 "02nzg1barhqhpf4x26mpzvk7jd29nali033qy01adjplv2z5m5sr"))))
+    (build-system haskell-build-system)
+    (home-page "https://john-millikin.com/software/")
+    (synopsis "Parser/Serialiser for IEEE-754 floating-point values")
+    (description "Convert Float and Decimal values to/from raw octets.")
+    (license license:expat)))
+
 (define-public ghc-dbus
   (package
     (name "ghc-dbus")
@@ -16026,4 +16042,3 @@  (define-public ghc-singleton-bool
     (description
      "This package provides Type-level booleans.")
     (license license:bsd-3)))
-