guix-patches
[Top][All Lists]
Advanced

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

[bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite


From: Thomas Albers
Subject: [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite
Date: Mon, 18 Apr 2022 20:09:46 +0200

---
 gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index beba6a5d0c..a1f4678730 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16126,3 +16126,27 @@ (define-public ghc-primes
     (description
      "This library provides an efficient lazy wheel sieve for prime 
generation.")
     (license license:bsd-3)))
+
+(define-public ghc-direct-sqlite
+  (package
+    (name "ghc-direct-sqlite")
+    (version "2.3.26")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/direct-sqlite/direct-sqlite-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "1z7rwaqhxl9hagbcndg3dkqysr5n2bcz2jrrvdl9pdi905x2663y"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-semigroups))
+    (native-inputs (list ghc-hunit ghc-base16-bytestring ghc-temporary))
+    (home-page "https://github.com/IreneKnapp/direct-sqlite";)
+    (synopsis "Low-level binding to SQLite3")
+    (description
+     "Low-level binding to SQLite3.  It supports strings encoded as UTF8, and
+BLOBs represented as ByteStrings.")
+    (license license:bsd-3)))
-- 
2.35.1






reply via email to

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