GNU bug report logs - #44174
[PATCH 00/16] Add hledger and its dependencies.

Previous Next

Package: guix-patches;

Reported by: Carlo Holl <carloholl <at> gmail.com>

Date: Fri, 23 Oct 2020 12:08:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlo Holl <carloholl <at> gmail.com>
To: 44174 <at> debbugs.gnu.org
Cc: Carlo Holl <carloholl <at> gmail.com>
Subject: [bug#44174] [PATCH 07/16] gnu: Add ghc-only.
Date: Fri, 23 Oct 2020 10:05:35 -0700
---
 gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f090f62b86..e831c12160 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8610,6 +8610,39 @@ old @code{time} library.  For new projects, the newer
 @uref{https://hackage.haskell.org/package/time, time library} is recommended.")
     (license license:bsd-3)))
 
+(define-public ghc-only
+  (package
+    (name "ghc-only")
+    (version "0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://hackage.haskell.org/package/Only/Only-"
+               version
+               ".tar.gz"))
+        (sha256
+          (base32
+            "0rdj3a629fk2vp121jq8mf2smkblrz5w3cxhlsyx6my2x29s2ymb"))))
+    (build-system haskell-build-system)
+    (arguments
+      `(#:cabal-revision
+        ("1"
+         "1ahk7p34kmh041mz7lyc10nhcxgv2i4z8nvzxvqm2x34gslmsbzr")))
+    (home-page
+      "https://hackage.haskell.org/package/Only")
+    (synopsis
+      "The 1-tuple type or single-value \"collection\"")
+    (description "This package provides a canonical anonymous 1-tuple
+type missing from Haskell for attaching typeclass instances.
+
+NOTE: There is also the @url{https://hackage.haskell.org/package/OneTuple,
+OneTuple package} which by using a boxed @code{data}-type provides a 1-tuple
+type which has laziness properties which are more faithful to the ones of
+Haskell's native tuples; whereas the primary purpose of @code{Only} is to provide
+the traditionally so named type-wrapper for attaching typeclass instances.")
+    (license license:bsd-3)))
+
 (define-public ghc-opengl
   (package
     (name "ghc-opengl")
-- 
2.28.0





This bug report was last modified 4 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.