unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519.
  2023-07-30 22:38 [bug#64965] Add glirc Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59 ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 2/8] gnu: Add ghc-config-value Tobias Geerinckx-Rice via Guix-patches via
                     ` (6 more replies)
  2023-07-31  7:00 ` [bug#64965] " Lars-Dominik Braun
  2023-07-31 19:25 ` bug#64965: " Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 7 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-crypto.scm (ghc-curve25519): New public variable.
---
 gnu/packages/haskell-crypto.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index 42e2a15709..4314ad4937 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -3,7 +3,7 @@
 ;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 Nikita <nikita@n0.is>
 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
-;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017, 2019, 2023 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -290,6 +290,37 @@ (define-public ghc-cryptonite
 generators, and more.")
     (license license:bsd-3)))
 
+(define-public ghc-curve25519
+  (package
+  (name "ghc-curve25519")
+  (version "0.2.7")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (hackage-uri "curve25519" version))
+     (sha256
+      (base32 "1p8b1lppkvc19974hr43lcqdi4nj55j2nf7gsnp8dn7gyf23aayq"))))
+  (build-system haskell-build-system)
+  (native-inputs
+   (list ghc-hunit
+         ghc-quickcheck
+         ghc-tagged
+         ghc-test-framework
+         ghc-test-framework-hunit
+         ghc-test-framework-quickcheck2))
+  (inputs
+   (list ghc-crypto-api))
+  (properties '((upstream-name . "curve25519")))
+  (home-page "https://github.com/acw/curve25519")
+  (synopsis "Fast implementations of the curve25519 elliptic curve primitives.")
+  (description
+   "This module provides Haskell bindings and extensions to the curve25519-donna
+codebase.  It's a pretty straightforward implementation of the basic
+cryptographic routines you'd want from a project that uses curve25519: key
+generation, and key agreement.  For further functionality, you'll want to look
+elsewhere.")
+  (license license:bsd-3)))
+
 (define-public ghc-digest
   (package
     (name "ghc-digest")

base-commit: 4a276d627bf83c4f6b080b169b6220d88fa10ddf
prerequisite-patch-id: c4e28901b4995430a553284d4a8889172203ae65
prerequisite-patch-id: 5777f58093a15b55627389d2fc150df112aef771
prerequisite-patch-id: c04ee7e58fdfd57ec20dd6810a52f7650948a579
prerequisite-patch-id: e94ecd3c107e4c63c658a5fe56015b8bf3176c27
prerequisite-patch-id: 7e6e4ab87b52996e9bb6cd8595889f21ba87e9fe
prerequisite-patch-id: 6f86f2a54f77c0e8841b6f22953c2f748e358107
prerequisite-patch-id: 7c88071ffd6af8c9de9a44ef2e745e3b111d28e7
prerequisite-patch-id: dacf336396c4f629906e4689dc2868d437179a37
prerequisite-patch-id: 35641348fcba881313d08cb85da3722ba0891264
prerequisite-patch-id: ea98f949fde81f63a309e36405b87463dc07ac50
prerequisite-patch-id: a299994eb9a52db942a5cc3a038b8bc34529c799
prerequisite-patch-id: 9ffc6d3a9be37af59ec29bfce0543cf8371edacb
prerequisite-patch-id: c489fbc8af7d431f9372d0b8bc9e4c609703680e
prerequisite-patch-id: 471c932817cc1044fd03f56e1a1f84e4ce4029a9
prerequisite-patch-id: 88f3a5981ea62ce654a48c258df09315f24ba73e
prerequisite-patch-id: 62b7b8d8b26d642f524d45e910f7685a57345d76
prerequisite-patch-id: 6ad7cb518d3f48614c97e7ef851289a8f4375306
prerequisite-patch-id: b6630bfc6abc407afac53074820b61aa676c6f0a
-- 
2.41.0





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

* [bug#64965] [PATCH 2/8] gnu: Add ghc-config-value.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59   ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 3/8] gnu: Add ghc-config-schema Tobias Geerinckx-Rice via Guix-patches via
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-xyz.scm (ghc-config-value): New public variable.
---
 gnu/packages/haskell-xyz.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 71df4192dc..0f0b59899f 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
 ;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
-;;; Copyright © 2017–2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017–2019, 2021, 2023 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2018 Tonton <tonton@riseup.net>
 ;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
@@ -2378,6 +2378,31 @@ (define-public ghc-config-ini
 human-readable error messages when things go wrong.")
     (license license:bsd-3)))
 
+(define-public ghc-config-value
+  (package
+    (name "ghc-config-value")
+    (version "0.8.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "config-value" version))
+       (sha256
+        (base32 "0pkcwxg91wali7986k03d7q940hb078hlsxfknqhkp2spr3d1f3w"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:cabal-revision ("3"
+                         "1qiqaad3zpgvwpcb5p1q9aaska82bfm75qrsfdcdlwc70r7w57gj")))
+    (native-inputs
+     (list ghc-alex ghc-happy))
+    (properties '((upstream-name . "config-value")))
+    (home-page "https://github.com/glguy/config-value")
+    (synopsis "Simple, layout-based value language similar to YAML or JSON")
+    (description
+     "This package implements a language similar to YAML or JSON but with fewer
+special cases and fewer dependencies.  It emphasizes layout structure for
+sections and lists, and requires quotes around strings.")
+    (license license:expat)))
+
 (define-public ghc-configurator
   (package
     (name "ghc-configurator")
-- 
2.41.0





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

* [bug#64965] [PATCH 3/8] gnu: Add ghc-config-schema.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 2/8] gnu: Add ghc-config-value Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59   ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 4/8] gnu: Add ghc-hsopenssl-x509-system Tobias Geerinckx-Rice via Guix-patches via
                     ` (4 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-xyz.scm (ghc-config-schema): New public variable.
---
 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 0f0b59899f..5cc72bacb3 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -2378,6 +2378,35 @@ (define-public ghc-config-ini
 human-readable error messages when things go wrong.")
     (license license:bsd-3)))
 
+(define-public ghc-config-schema
+  (package
+    (name "ghc-config-schema")
+    (version "1.2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "config-schema" version))
+       (sha256
+        (base32 "10mp76j2gxcb51865lb6cf3nkc2nc7fwarkghb6yz71q6sbrg3yx"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:cabal-revision ("3"
+                         "16rwj3vcafq4fqqh5rq1na1g4syk63kki2gjinb6yj3h8s59vpp7")))
+    (inputs
+     (list ghc-config-value
+           ghc-free
+           ghc-kan-extensions
+           ghc-semigroupoids))
+    (properties '((upstream-name . "config-schema")))
+    (home-page "https://github.com/glguy/config-schema")
+    (synopsis "Schema definitions for the config-value package")
+    (description
+     "This package makes it possible to define schemas for use when loading
+configuration files using the config-value format.  These schemas can be used to
+process a configuration file into a Haskell value or to automatically generate
+documentation for the file format.")
+    (license license:isc)))
+
 (define-public ghc-config-value
   (package
     (name "ghc-config-value")
-- 
2.41.0





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

* [bug#64965] [PATCH 4/8] gnu: Add ghc-hsopenssl-x509-system.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 2/8] gnu: Add ghc-config-value Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 3/8] gnu: Add ghc-config-schema Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59   ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 5/8] gnu: Add ghc-hookup Tobias Geerinckx-Rice via Guix-patches via
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-crypto.scm (ghc-hsopenssl-x509-system):
New public variable.
---
 gnu/packages/haskell-crypto.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell-crypto.scm b/gnu/packages/haskell-crypto.scm
index 4314ad4937..7e1935ece3 100644
--- a/gnu/packages/haskell-crypto.scm
+++ b/gnu/packages/haskell-crypto.scm
@@ -747,6 +747,29 @@ (define-public ghc-hsopenssl
 implementation of SSL.")
     (license license:public-domain)))
 
+(define-public ghc-hsopenssl-x509-system
+  (package
+  (name "ghc-hsopenssl-x509-system")
+  (version "0.1.0.4")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (hackage-uri "HsOpenSSL-x509-system" version))
+     (sha256
+      (base32 "15mp70bqg1lzp971bzp6wym3bwzvxb76hzbgckygbfa722xyymhr"))))
+  (build-system haskell-build-system)
+  (inputs
+   (list ghc-hsopenssl))
+  (properties '((upstream-name . "HsOpenSSL-x509-system")))
+  (home-page "https://github.com/redneb/HsOpenSSL-x509-system")
+  (synopsis "Use the system's native CA certificate store with HsOpenSSL")
+  (description
+   "This package provides a cross-platform library that tries to find
+a (reasonable) CA certificate bundle that can be used with HsOpenSSL to verify
+the certificates of remote peers.  It is for HsOpenSSL what x509-system is for
+the tls package, and borrows some ideas from x509-system.")
+  (license license:bsd-3)))
+
 (define-public ghc-openssl-streams
   (package
     (name "ghc-openssl-streams")
-- 
2.41.0





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

* [bug#64965] [PATCH 5/8] gnu: Add ghc-hookup.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
                     ` (2 preceding siblings ...)
  2023-07-29 23:59   ` [bug#64965] [PATCH 4/8] gnu: Add ghc-hsopenssl-x509-system Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59   ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 6/8] gnu: Add ghc-irc-core Tobias Geerinckx-Rice via Guix-patches via
                     ` (2 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-xyz.scm (ghc-hookup): New public variable.
---
 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 5cc72bacb3..7d01da6739 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5393,6 +5393,35 @@ (define-public ghc-hmatrix-special
 functions for Haskell.")
     (license license:gpl3+)))
 
+(define-public ghc-hookup
+  (package
+    (name "ghc-hookup")
+    (version "0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "hookup" version))
+       (sha256
+        (base32 "02prkwj4rj8g330z17bpjh7hpwfdvasaxsk74mcvbi03gjpydrib"))))
+    (build-system haskell-build-system)
+    (arguments
+     `(#:cabal-revision ("1"
+                         "1x4hxcb81rczpywcda3s9jbh2gs1sfwvd7wzv3cxxkbd4smlrh1r")))
+    (inputs
+     (list ghc-async
+           ghc-network
+           ghc-attoparsec
+           ghc-hsopenssl
+           ghc-hsopenssl-x509-system))
+    (properties '((upstream-name . "hookup")))
+    (home-page "https://github.com/glguy/irc-core")
+    (synopsis "Abstracts network connections over SOCKS5 and TLS")
+    (description
+     "This package provides an abstraction for communicating with line-oriented
+network services while abstracting over the use of SOCKS5 and TLS (via
+OpenSSL)")
+    (license license:isc)))
+
 (define-public ghc-hostname
   (package
     (name "ghc-hostname")
-- 
2.41.0





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

* [bug#64965] [PATCH 6/8] gnu: Add ghc-irc-core.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
                     ` (3 preceding siblings ...)
  2023-07-29 23:59   ` [bug#64965] [PATCH 5/8] gnu: Add ghc-hookup Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59   ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59   ` [bug#64965] [PATCH 7/8] gnu: Add ghc-vty Tobias Geerinckx-Rice via Guix-patches via
  2023-07-30  0:00   ` [bug#64965] [PATCH 8/8] gnu: Add glirc Tobias Geerinckx-Rice via Guix-patches via
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-xyz.scm (ghc-irc-core): New public variable.
---
 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 7d01da6739..1db3a157f1 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -6172,6 +6172,32 @@ (define-public ghc-ipynb
 instances for conversion to and from JSON .ipynb files.")
     (license license:bsd-3)))
 
+(define-public ghc-irc-core
+  (package
+  (name "ghc-irc-core")
+  (version "2.11")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (hackage-uri "irc-core" version))
+     (sha256
+      (base32 "13jkfb30kynqd55c2slxjg98lr076rn1ymsxniwp0bssjzizgnfc"))))
+  (build-system haskell-build-system)
+  (native-inputs
+   (list ghc-hunit))
+  (inputs
+   (list ghc-base64-bytestring
+         ghc-attoparsec
+         ghc-hashable
+         ghc-primitive ghc-vector))
+  (properties '((upstream-name . "irc-core")))
+  (home-page "https://github.com/glguy/irc-core")
+  (synopsis "IRC core library for glirc")
+  (description
+   "This is the IRC core library for glirc.  The client is available in its own
+glirc package.")
+  (license license:isc)))
+
 (define-public ghc-iwlib
   (package
     (name "ghc-iwlib")
-- 
2.41.0





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

* [bug#64965] [PATCH 7/8] gnu: Add ghc-vty.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
                     ` (4 preceding siblings ...)
  2023-07-29 23:59   ` [bug#64965] [PATCH 6/8] gnu: Add ghc-irc-core Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-29 23:59   ` Tobias Geerinckx-Rice via Guix-patches via
  2023-07-30  0:00   ` [bug#64965] [PATCH 8/8] gnu: Add glirc Tobias Geerinckx-Rice via Guix-patches via
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-29 23:59 UTC (permalink / raw)
  To: 64965; +Cc: Lars-Dominik Braun

* gnu/packages/haskell-xyz.scm (ghc-vty): New public variable.
---
 gnu/packages/haskell-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 1db3a157f1..c02fd007f9 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13884,6 +13884,48 @@ (define-public ghc-void
 given term should not exist.")
     (license license:bsd-3)))
 
+(define-public ghc-vty
+  (package
+  (name "ghc-vty")
+  (version "5.35.1")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (hackage-uri "vty" version))
+     (sha256
+      (base32 "062dpz8fxrnggzpl041zpbph0xj56jki98ajm2s78dldg5vy0c9k"))))
+  (build-system haskell-build-system)
+  (native-inputs
+   (list ghc-hunit
+         ghc-quickcheck
+         ghc-quickcheck-assertions
+         ghc-random
+         ghc-smallcheck
+         ghc-string-qq
+         ghc-test-framework
+         ghc-test-framework-smallcheck
+         ghc-test-framework-hunit))
+  (inputs
+   (list ghc-ansi-terminal
+         ghc-blaze-builder
+         ghc-hashable
+         ghc-microlens
+         ghc-microlens-mtl
+         ghc-microlens-th
+         ghc-parallel
+         ghc-utf8-string
+         ghc-vector))
+  (arguments
+   `(#:cabal-revision ("1"
+                       "1zqcvgqhcij92241g20zn3c3a4033biid3f3cqg05q1ygrmznxb5")))
+  (properties '((upstream-name . "vty")))
+  (home-page "https://github.com/jtdaugherty/vty")
+  (synopsis "Simple terminal UI library")
+  (description
+   "vty is a terminal GUI library in the niche of ncurses, intended to be easy
+to use and to provide good support for common terminal types.")
+  (license license:bsd-3)))
+
 (define-public ghc-wave
   (package
     (name "ghc-wave")
-- 
2.41.0





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

* [bug#64965] [PATCH 8/8] gnu: Add glirc.
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
                     ` (5 preceding siblings ...)
  2023-07-29 23:59   ` [bug#64965] [PATCH 7/8] gnu: Add ghc-vty Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-30  0:00   ` Tobias Geerinckx-Rice via Guix-patches via
  6 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-30  0:00 UTC (permalink / raw)
  To: 64965

* gnu/packages/irc.scm (glirc): New public variable.
---
 gnu/packages/irc.scm | 50 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 03256241dd..865b831d5c 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Nikita <nikita@n0.is>
 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2017–2023 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
 ;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -40,6 +40,7 @@ (define-module (gnu packages irc)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
+  #:use-module (guix build-system haskell)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
@@ -66,6 +67,9 @@ (define-module (gnu packages irc)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages haskell-check)
+  #:use-module (gnu packages haskell-crypto)
+  #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages lxqt)
   #:use-module (gnu packages man)
@@ -93,6 +97,50 @@ (define-module (gnu packages irc)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public glirc
+  (package
+  (name "glirc")
+  (version "2.39.0.1")
+  (source
+   (origin
+     (method url-fetch)
+     (uri (hackage-uri "glirc" version))
+     (sha256
+      (base32 "0jaywb43jfv6kzyz540k02mxdgw1shc6hn7kia21alssszkilh4r"))))
+  (build-system haskell-build-system)
+  (native-inputs
+   (list ghc-hunit))
+  (inputs
+   (list ghc-async
+         ghc-attoparsec
+         ghc-base64-bytestring
+         ghc-config-schema
+         ghc-config-value
+         ghc-curve25519
+         ghc-free
+         ghc-githash
+         ghc-hashable
+         ghc-hookup
+         ghc-hsopenssl
+         ghc-irc-core
+         ghc-kan-extensions
+         ghc-lens
+         ghc-network
+         ghc-psqueues
+         ghc-random
+         ghc-regex-tdfa
+         ghc-split
+         ghc-unordered-containers
+         ghc-vector
+         ghc-vty))
+  (home-page "https://github.com/glguy/irc-core")
+  (synopsis "Console IRC client")
+  (description
+   "Glirc is a console IRC client with an emphasis on providing dynamic views
+into the model of your IRC connections.  All views and transformation are
+dynamic and don't change the underlying model.")
+  (license license:isc)))
+
 (define-public quassel
   (package
     (name "quassel")
-- 
2.41.0





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

* [bug#64965] Add glirc
@ 2023-07-30 22:38 Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-30 22:38 UTC (permalink / raw)
  To: 64965

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

Here comes glirc.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* [bug#64965] Add glirc
  2023-07-30 22:38 [bug#64965] Add glirc Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
@ 2023-07-31  7:00 ` Lars-Dominik Braun
  2023-07-31 19:25 ` bug#64965: " Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 0 replies; 11+ messages in thread
From: Lars-Dominik Braun @ 2023-07-31  7:00 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 64965

Hi,

> Here comes glirc.

builds, so LGTM.

Cheers,
Lars





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

* bug#64965: Add glirc
  2023-07-30 22:38 [bug#64965] Add glirc Tobias Geerinckx-Rice via Guix-patches via
  2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
  2023-07-31  7:00 ` [bug#64965] " Lars-Dominik Braun
@ 2023-07-31 19:25 ` Tobias Geerinckx-Rice via Guix-patches via
  2 siblings, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2023-07-31 19:25 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 64965-done

On 2023-07-31 0:38, Tobias Geerinckx-Rice via Guix-patches via wrote:
> Here comes glirc.

It's here.  Thanks Lars!  Pushed as 
55e89da207b95230e5f2a8176acd9cc9b43971ff.

Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.




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

end of thread, other threads:[~2023-07-31 19:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-30 22:38 [bug#64965] Add glirc Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59 ` [bug#64965] [PATCH 1/8] gnu: Add ghc-curve25519 Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59   ` [bug#64965] [PATCH 2/8] gnu: Add ghc-config-value Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59   ` [bug#64965] [PATCH 3/8] gnu: Add ghc-config-schema Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59   ` [bug#64965] [PATCH 4/8] gnu: Add ghc-hsopenssl-x509-system Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59   ` [bug#64965] [PATCH 5/8] gnu: Add ghc-hookup Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59   ` [bug#64965] [PATCH 6/8] gnu: Add ghc-irc-core Tobias Geerinckx-Rice via Guix-patches via
2023-07-29 23:59   ` [bug#64965] [PATCH 7/8] gnu: Add ghc-vty Tobias Geerinckx-Rice via Guix-patches via
2023-07-30  0:00   ` [bug#64965] [PATCH 8/8] gnu: Add glirc Tobias Geerinckx-Rice via Guix-patches via
2023-07-31  7:00 ` [bug#64965] " Lars-Dominik Braun
2023-07-31 19:25 ` bug#64965: " Tobias Geerinckx-Rice via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).