all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#55005] [PATCH 00/13] gnu: Add multiple haskell packages
@ 2022-04-18 18:00 Thomas Albers Raviola via Guix-patches via
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
  0 siblings, 1 reply; 18+ messages in thread
From: Thomas Albers Raviola via Guix-patches via @ 2022-04-18 18:00 UTC (permalink / raw)
  To: 55005

Hello Guix,

the following is a patch series with some of the dependencies needed to
add the `haskell-language-server' package to guix. HSL requires around
100 dependencies not yet included inside of guix. I have working package
declaration for all of them, HSL included, but I need some time to
write useful synopsis and descriptions. Also sending a ~100 entries long
patch series is probably a bad idea.

Regards,
Thomas




^ permalink raw reply	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 01/13] gnu: Add ghc-primes
  2022-04-18 18:00 [bug#55005] [PATCH 00/13] gnu: Add multiple haskell packages Thomas Albers Raviola via Guix-patches via
@ 2022-04-18 18:09 ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite Thomas Albers via Guix-patches via
                     ` (11 more replies)
  0 siblings, 12 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0ce47e0902..beba6a5d0c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2021 Alice BRENON <alice.brenon@ens-lyon.fr>
 ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -16105,3 +16106,23 @@ (define-public ghc-singleton-bool
      "This package provides Type-level booleans.")
     (license license:bsd-3)))
 
+(define-public ghc-primes
+  (package
+    (name "ghc-primes")
+    (version "0.2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/primes/primes-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "0ny6fzr967d1fifk050k95j9snnbjjif2bxf3v9s93k3zdc6bmkl"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (home-page "https://github.com/sebfisch/primes")
+    (synopsis "Purely functional generation of prime numbers")
+    (description
+     "This library provides an efficient lazy wheel sieve for prime generation.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 03/13] gnu: Add ghc-sqlite-simple Thomas Albers via Guix-patches via
                     ` (10 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

---
 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





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 03/13] gnu: Add ghc-sqlite-simple
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 04/13] gnu: Add ghc-githash Thomas Albers via Guix-patches via
                     ` (9 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a1f4678730..18baf7b2f8 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16150,3 +16150,32 @@ (define-public ghc-direct-sqlite
      "Low-level binding to SQLite3.  It supports strings encoded as UTF8, and
 BLOBs represented as ByteStrings.")
     (license license:bsd-3)))
+
+(define-public ghc-sqlite-simple
+  (package
+    (name "ghc-sqlite-simple")
+    (version "0.4.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/sqlite-simple/sqlite-simple-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "00icsf8pgrcqcn5562lmn12yz1f16a2v2q6bl90iknvjyrk1hgzp"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs
+     (list ghc-attoparsec
+           ghc-blaze-builder
+           ghc-blaze-textual
+           ghc-direct-sqlite
+           ghc-semigroups
+           ghc-only))
+    (native-inputs (list ghc-base16-bytestring ghc-hunit))
+    (home-page "https://github.com/nurpax/sqlite-simple")
+    (synopsis "Mid-Level SQLite client library")
+    (description
+     "Mid-level SQLite client library, based on postgresql-simple.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 04/13] gnu: Add ghc-githash
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 03/13] gnu: Add ghc-sqlite-simple Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:27     ` Maxime Devos
  2022-04-18 18:09   ` [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple Thomas Albers via Guix-patches via
                     ` (8 subsequent siblings)
  11 siblings, 1 reply; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 18baf7b2f8..314209f573 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16179,3 +16179,28 @@ (define-public ghc-sqlite-simple
     (description
      "Mid-level SQLite client library, based on postgresql-simple.")
     (license license:bsd-3)))
+
+(define-public ghc-githash
+  (package
+    (name "ghc-githash")
+    (version "0.1.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/githash/githash-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "1vkwc7j71vdrxy01vlm6xfp16kam7m9bnj9y3h217fzhq5mjywhz"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (arguments `(#:tests? #f))
+    (inputs (list ghc-th-compat))
+    (native-inputs (list ghc-hspec ghc-temporary ghc-unliftio))
+    (home-page "https://github.com/snoyberg/githash")
+    (synopsis "Compile git revision info into Haskell projects")
+    (description
+     "Template Haskell splices for including the current git hash and branch
+in the code of a project.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (2 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 04/13] gnu: Add ghc-githash Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:30     ` Maxime Devos
  2022-04-18 18:09   ` [bug#55005] [PATCH 06/13] gnu: Add ghc-algebraic-graphs Thomas Albers via Guix-patches via
                     ` (7 subsequent siblings)
  11 siblings, 1 reply; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 314209f573..b9b2824dc4 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16204,3 +16204,25 @@ (define-public ghc-githash
      "Template Haskell splices for including the current git hash and branch
 in the code of a project.")
     (license license:bsd-3)))
+
+(define-public ghc-optparse-simple
+  (package
+    (name "ghc-optparse-simple")
+    (version "0.1.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/optparse-simple/optparse-simple-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "0y3qgab8csiwyv60cnpzpv65n3c0ikvdx5b5mfkfahkv8xfdh08x"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-githash ghc-optparse-applicative ghc-th-compat))
+    (home-page "https://github.com/fpco/optparse-simple")
+    (synopsis "Simple interface to @code{ghc-optparse-applicative}")
+    (description
+     "Simple helper functions to work with @code{ghc-optparse-applicative}.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 06/13] gnu: Add ghc-algebraic-graphs
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (3 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 07/13] gnu: Add ghc-record-hasfield Thomas Albers via Guix-patches via
                     ` (6 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index b9b2824dc4..5352e9f0b6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16226,3 +16226,29 @@ (define-public ghc-optparse-simple
     (description
      "Simple helper functions to work with @code{ghc-optparse-applicative}.")
     (license license:bsd-3)))
+
+(define-public ghc-algebraic-graphs
+  (package
+    (name "ghc-algebraic-graphs")
+    (version "0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/algebraic-graphs/algebraic-graphs-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "1d3gwyimrzcc7i2qj3iimab3wz6vicgwybhq7ac3da86b8pjlgim"))))
+    (build-system haskell-build-system)
+        (outputs '("out" "static"))
+    (native-inputs (list ghc-extra ghc-inspection-testing ghc-quickcheck))
+    (arguments
+     `(#:cabal-revision
+       ("1" "0f7ih4d0jls7399slxc3zkg38z32jm80jv74iyy42l8s6m5ya1cv")))
+    (home-page "https://github.com/snowleopard/alga")
+    (synopsis "Library for algebraic graph construction and transformation")
+    (description
+     "Library for algebraic construction and manipulation of graphs in
+Haskell.")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 07/13] gnu: Add ghc-record-hasfield
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (4 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 06/13] gnu: Add ghc-algebraic-graphs Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 08/13] gnu: Add ghc-record-dot-preprocessor Thomas Albers via Guix-patches via
                     ` (5 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 5352e9f0b6..4d50437ed4 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16252,3 +16252,26 @@ (define-public ghc-algebraic-graphs
      "Library for algebraic construction and manipulation of graphs in
 Haskell.")
     (license license:expat)))
+
+(define-public ghc-record-hasfield
+  (package
+    (name "ghc-record-hasfield")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/record-hasfield/record-hasfield-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "1jlyhj4nlj4hrypdcv7393nccjmfjnh1311incgqhm5wzigjygaj"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (home-page "https://github.com/ndmitchell/record-hasfield")
+    (synopsis "Implementation of @code{GHC.Records}")
+    (description
+     "This package provides a version of @code{GHC.Records} as it will be
+after the implementation of GHC proposal #42, plus some helper functions over
+it.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 08/13] gnu: Add ghc-record-dot-preprocessor
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (5 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 07/13] gnu: Add ghc-record-hasfield Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 09/13] gnu: Add ghc-monoid-subclasses Thomas Albers via Guix-patches via
                     ` (4 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 4d50437ed4..657eb496a5 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16275,3 +16275,24 @@ (define-public ghc-record-hasfield
 after the implementation of GHC proposal #42, plus some helper functions over
 it.")
     (license license:bsd-3)))
+
+(define-public ghc-record-dot-preprocessor
+  (package
+    (name "ghc-record-dot-preprocessor")
+    (version "0.2.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "record-dot-preprocessor" version))
+       (sha256
+        (base32 "07hq90pk30p14jqk016wchmqrc1qhwa9qajaj90i363g3arcb24p"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-uniplate ghc-extra))
+    (native-inputs (list ghc-record-hasfield))
+    (home-page "https://github.com/ndmitchell/record-dot-preprocessor")
+    (synopsis "Preprocessor to allow @code{record.field} syntax")
+    (description
+     "Preprocessor to allow the @code{record.field} syntax to access the
+fields of records in Haskell.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 09/13] gnu: Add ghc-monoid-subclasses
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (6 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 08/13] gnu: Add ghc-record-dot-preprocessor Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy Thomas Albers via Guix-patches via
                     ` (3 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 657eb496a5..fdc9edabde 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16296,3 +16296,29 @@ (define-public ghc-record-dot-preprocessor
      "Preprocessor to allow the @code{record.field} syntax to access the
 fields of records in Haskell.")
     (license license:bsd-3)))
+
+(define-public ghc-monoid-subclasses
+  (package
+    (name "ghc-monoid-subclasses")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "monoid-subclasses" version))
+       (sha256
+        (base32 "1nglki10rlpi872p55pa8g809q5sna7yzh3zw4rqfhq89kb15wcv"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-primes ghc-vector))
+    (native-inputs
+     (list ghc-quickcheck
+           ghc-quickcheck-instances
+           ghc-tasty
+           ghc-tasty-quickcheck))
+    (home-page "https://github.com/blamario/monoid-subclasses/")
+    (synopsis "Subclasses of Monoid")
+    (description
+     "This package provides a hierarchy of subclasses of @code{Monoid}
+together with their instances for all data structures from base, containers,
+and text packages.")
+    (license license:bsd-3)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (7 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 09/13] gnu: Add ghc-monoid-subclasses Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 11/13] gnu: Add ghc-strict-list Thomas Albers via Guix-patches via
                     ` (2 subsequent siblings)
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index fdc9edabde..35a3e7a078 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16322,3 +16322,24 @@ (define-public ghc-monoid-subclasses
 together with their instances for all data structures from base, containers,
 and text packages.")
     (license license:bsd-3)))
+
+(define-public ghc-fuzzy
+  (package
+    (name "ghc-fuzzy")
+    (version "0.1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "fuzzy" version))
+       (sha256
+        (base32 "16pl4ba9f3wlx69pg8va1c2qg4zb9c0w50d7f6d84x9b5ysaza5w"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-monoid-subclasses))
+    (native-inputs (list ghc-hunit))
+    (home-page "https://github.com/joom/fuzzy")
+    (synopsis "Filter a list based on a fuzzy string search.")
+    (description
+     "Fuzzy string search library for Haskell.  Uses TextualMonoid from
+monoid-subclasses to be able to run on different types of strings.")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 11/13] gnu: Add ghc-strict-list
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (8 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 12/13] gnu: Add ghc-deque Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 13/13] gnu: Add ghc-mod Thomas Albers via Guix-patches via
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 35a3e7a078..cd6de908c6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16343,3 +16343,29 @@ (define-public ghc-fuzzy
      "Fuzzy string search library for Haskell.  Uses TextualMonoid from
 monoid-subclasses to be able to run on different types of strings.")
     (license license:expat)))
+
+(define-public ghc-strict-list
+  (package
+    (name "ghc-strict-list")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "strict-list" version))
+       (sha256
+        (base32 "0cbf3my7fghifplk7l2m77cc0x7xkh1pyv5k36h7dl6m2ddhmdc1"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-hashable ghc-semigroupoids))
+    (native-inputs
+     (list ghc-quickcheck
+           ghc-quickcheck-instances
+           ghc-rerebase
+           ghc-tasty
+           ghc-tasty-hunit
+           ghc-tasty-quickcheck))
+    (home-page "https://github.com/nikita-volkov/strict-list")
+    (synopsis "Strict linked list")
+    (description
+     "Implementation of strict linked list with care taken about stack.")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 12/13] gnu: Add ghc-deque
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (9 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 11/13] gnu: Add ghc-strict-list Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  2022-04-18 18:09   ` [bug#55005] [PATCH 13/13] gnu: Add ghc-mod Thomas Albers via Guix-patches via
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index cd6de908c6..2b8ea5c8e8 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16369,3 +16369,30 @@ (define-public ghc-strict-list
     (description
      "Implementation of strict linked list with care taken about stack.")
     (license license:expat)))
+
+(define-public ghc-deque
+  (package
+    (name "ghc-deque")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "deque" version))
+       (sha256
+        (base32 "1x0rjdqgf4kwgpyisx618waz6r9gki3ivav9m4biysyc04hdhinn"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-hashable ghc-strict-list))
+    (native-inputs
+     (list ghc-quickcheck
+           ghc-quickcheck-instances
+           ghc-rerebase
+           ghc-tasty
+           ghc-tasty-hunit
+           ghc-tasty-quickcheck))
+    (home-page "https://github.com/nikita-volkov/deque")
+    (synopsis "Double-ended queues")
+    (description
+     "Strict and lazy implementations of Double-Ended Queue based on head-tail
+linked list.")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 13/13] gnu: Add ghc-mod
  2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
                     ` (10 preceding siblings ...)
  2022-04-18 18:09   ` [bug#55005] [PATCH 12/13] gnu: Add ghc-deque Thomas Albers via Guix-patches via
@ 2022-04-18 18:09   ` Thomas Albers via Guix-patches via
  11 siblings, 0 replies; 18+ messages in thread
From: Thomas Albers via Guix-patches via @ 2022-04-18 18:09 UTC (permalink / raw)
  To: 55005; +Cc: Thomas Albers

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 2b8ea5c8e8..9c378f795f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16396,3 +16396,29 @@ (define-public ghc-deque
      "Strict and lazy implementations of Double-Ended Queue based on head-tail
 linked list.")
     (license license:expat)))
+
+(define-public ghc-mod
+  (package
+    (name "ghc-mod")
+    (version "0.1.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "mod" version))
+       (sha256
+        (base32 "0m92yd323kjjwnphqlima2aj0hh7i1gnpblc8a29ks25gj0sv66v"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-semirings ghc-primitive ghc-vector))
+    (native-inputs
+     (list ghc-quickcheck-classes-base
+           ghc-tasty
+           ghc-tasty-quickcheck
+           ghc-quickcheck-classes
+           ghc-quickcheck-classes))
+    (home-page "https://github.com/Bodigrim/mod")
+    (synopsis "Type-safe modular arithmetic")
+    (description
+     "Modular arithmetic, promoting moduli to the type level, with an emphasis
+on performance.  Originally part of @code{arithmoi} package.")
+    (license license:expat)))
-- 
2.35.1





^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 04/13] gnu: Add ghc-githash
  2022-04-18 18:09   ` [bug#55005] [PATCH 04/13] gnu: Add ghc-githash Thomas Albers via Guix-patches via
@ 2022-04-18 18:27     ` Maxime Devos
  2022-04-18 18:35       ` Thomas Albers Raviola via Guix-patches via
  0 siblings, 1 reply; 18+ messages in thread
From: Maxime Devos @ 2022-04-18 18:27 UTC (permalink / raw)
  To: Thomas Albers, 55005

[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]

Thomas Albers via Guix-patches via schreef op ma 18-04-2022 om 20:09
[+0200]:
> ---
>  gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)

A commit message is mising.

> diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
> index 18baf7b2f8..314209f573 100644
> --- a/gnu/packages/haskell-xyz.scm
> +++ b/gnu/packages/haskell-xyz.scm
> @@ -16179,3 +16179,28 @@ (define-public ghc-sqlite-simple
>      (description
>       "Mid-level SQLite client library, based on postgresql-simple.")
>      (license license:bsd-3)))
> +
> +(define-public ghc-githash
> +  (package
> +    (name "ghc-githash")
> +    (version "0.1.6.2")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://hackage.haskell.org/package/githash/githash-"
> +             version
> +             ".tar.gz"))

I would Put 'version' and ".tar.gz" on one line here.

> +       (sha256
> +        (base32 "1vkwc7j71vdrxy01vlm6xfp16kam7m9bnj9y3h217fzhq5mjywhz"))))
> +    (build-system haskell-build-system)
> +    (outputs '("out" "static"))

What are the static libraries for?

> +    (arguments `(#:tests? #f))

Why are they disabled?

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple
  2022-04-18 18:09   ` [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple Thomas Albers via Guix-patches via
@ 2022-04-18 18:30     ` Maxime Devos
  0 siblings, 0 replies; 18+ messages in thread
From: Maxime Devos @ 2022-04-18 18:30 UTC (permalink / raw)
  To: Thomas Albers, 55005

[-- Attachment #1: Type: text/plain, Size: 593 bytes --]

Thomas Albers via Guix-patches via schreef op ma 18-04-2022 om 20:09
[+0200]:
> +    (synopsis "Simple interface to @code{ghc-optparse-applicative}")
> +    (description
> +     "Simple helper functions to work with @code{ghc-optparse-applicative}.")

The synopsis and description is virtually identical, and this doesn't
explain what ghc-optparse-simple is useful for.

More generally, upstream synopses and descriptions are rather limited
and need to be expanded and rewritten a bit.  ‘Synopses and
Descriptions’ in the manual has some tips.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 04/13] gnu: Add ghc-githash
  2022-04-18 18:27     ` Maxime Devos
@ 2022-04-18 18:35       ` Thomas Albers Raviola via Guix-patches via
  2022-04-18 18:55         ` Maxime Devos
  0 siblings, 1 reply; 18+ messages in thread
From: Thomas Albers Raviola via Guix-patches via @ 2022-04-18 18:35 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 55005


Maxime Devos <maximedevos@telenet.be> writes:

> [[PGP Signed Part:Undecided]]
> Thomas Albers via Guix-patches via schreef op ma 18-04-2022 om 20:09
> [+0200]:
>> ---
>>  gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
>>  1 file changed, 25 insertions(+)
>
> A commit message is mising.
>
You're right. Not only for that package, but for all in the series. I
was convinced 'git send-email' would add them automatically like it
usually does. Is there a command line option for this that I am missing?
>> diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
>> index 18baf7b2f8..314209f573 100644
>> --- a/gnu/packages/haskell-xyz.scm
>> +++ b/gnu/packages/haskell-xyz.scm
>> @@ -16179,3 +16179,28 @@ (define-public ghc-sqlite-simple
>>      (description
>>       "Mid-level SQLite client library, based on postgresql-simple.")
>>      (license license:bsd-3)))
>> +
>> +(define-public ghc-githash
>> +  (package
>> +    (name "ghc-githash")
>> +    (version "0.1.6.2")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append
>> +             "https://hackage.haskell.org/package/githash/githash-"
>> +             version
>> +             ".tar.gz"))
>
> I would Put 'version' and ".tar.gz" on one line here.
>
>> +       (sha256
>> +        (base32 "1vkwc7j71vdrxy01vlm6xfp16kam7m9bnj9y3h217fzhq5mjywhz"))))
>> +    (build-system haskell-build-system)
>> +    (outputs '("out" "static"))
>
> What are the static libraries for?
>
I am myself no sure. They are generated in the build process, so I
thought to add them.
>> +    (arguments `(#:tests? #f))
>
> Why are they disabled?
>
Tests attempt to write to the read-only file-system. I'll add a comment
explaining this.

Is there a way to correct patches without having to send all over again?
Is it possible to fix the mistakes by adding more patches to the series
on top of the existing ones?

Greetings,
Thomas




^ permalink raw reply	[flat|nested] 18+ messages in thread

* [bug#55005] [PATCH 04/13] gnu: Add ghc-githash
  2022-04-18 18:35       ` Thomas Albers Raviola via Guix-patches via
@ 2022-04-18 18:55         ` Maxime Devos
  0 siblings, 0 replies; 18+ messages in thread
From: Maxime Devos @ 2022-04-18 18:55 UTC (permalink / raw)
  To: Thomas Albers Raviola; +Cc: 55005

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

Thomas Albers Raviola schreef op ma 18-04-2022 om 20:35 [+0200]:
> You're right. Not only for that package, but for all in the series. I
> was convinced 'git send-email' would add them automatically like it
> usually does. Is there a command line option for this that I am missing?

Not that I'm aware of, AFAIK 'git send-email' automatically includes
the commit message made during "git committ", though it won't write it
for you.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-04-18 18:56 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 18:00 [bug#55005] [PATCH 00/13] gnu: Add multiple haskell packages Thomas Albers Raviola via Guix-patches via
2022-04-18 18:09 ` [bug#55005] [PATCH 01/13] gnu: Add ghc-primes Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 02/13] gnu: Add ghc-direct-sqlite Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 03/13] gnu: Add ghc-sqlite-simple Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 04/13] gnu: Add ghc-githash Thomas Albers via Guix-patches via
2022-04-18 18:27     ` Maxime Devos
2022-04-18 18:35       ` Thomas Albers Raviola via Guix-patches via
2022-04-18 18:55         ` Maxime Devos
2022-04-18 18:09   ` [bug#55005] [PATCH 05/13] gnu: Add ghc-optparse-simple Thomas Albers via Guix-patches via
2022-04-18 18:30     ` Maxime Devos
2022-04-18 18:09   ` [bug#55005] [PATCH 06/13] gnu: Add ghc-algebraic-graphs Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 07/13] gnu: Add ghc-record-hasfield Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 08/13] gnu: Add ghc-record-dot-preprocessor Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 09/13] gnu: Add ghc-monoid-subclasses Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 11/13] gnu: Add ghc-strict-list Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 12/13] gnu: Add ghc-deque Thomas Albers via Guix-patches via
2022-04-18 18:09   ` [bug#55005] [PATCH 13/13] gnu: Add ghc-mod Thomas Albers via Guix-patches via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.