guix-patches
[Top][All Lists]
Advanced

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

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


From: Aleksandr Vityazev
Subject: [bug#52527] [PATCH 1/4] gnu: Add ghc-data-binary-ieee754.
Date: Wed, 15 Dec 2021 23:01:00 +0000

* 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 --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)))
-
-- 
2.34.0



-- 

Aleksandr Vityazev





reply via email to

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