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