From: zamfofex <zamfofex@twdb.moe>
To: 64066@debbugs.gnu.org
Cc: zamfofex <zamfofex@twdb.moe>, Lars-Dominik Braun <lars@6xq.net>
Subject: [bug#64066] [PATCH 18/19] gnu: Add ghc-reflex-sdl2
Date: Wed, 14 Jun 2023 09:48:58 -0300 [thread overview]
Message-ID: <17921ee0a6f97f6930f4f403300209c75463a915.1686746569.git.zamfofex@twdb.moe> (raw)
In-Reply-To: <cover.1686746568.git.zamfofex@twdb.moe>
* gnu/packages/haskell-xyz.scm (ghc-reflex-sdl2): New variable.
---
gnu/packages/haskell-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 9e0137cd8c..7065fd6bb2 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9779,6 +9779,43 @@ (define-public ghc-reflex
. <https://reflex-frp.org>")
(license license:bsd-3)))
+(define-public ghc-reflex-sdl2
+ (let ((commit "6dadf2c4f383b8a58fcd73616996b219c4f93972")
+ (revision "1"))
+ (package
+ (name "ghc-reflex-sdl2")
+ (version (git-version "0.3.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/schell/reflex-sdl2")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06lxfgp18l1car6wd07mbjn4yblnp89acf1i67nd815p2hx0ihbz"))))
+ (build-system haskell-build-system)
+ (properties '((upstream-name . "reflex-sdl2")))
+ (inputs (list ghc-async
+ ghc-dependent-sum
+ ghc-exception-transformers
+ ghc-ref-tf
+ ghc-primitive
+ ghc-reflex
+ ghc-sdl2))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "reflex-sdl2.cabal"
+ (("\\bref-tf +>= 0\\.4 +&& < 0\\.5\\b") "ref-tf")))))))
+ (home-page "https://github.com/schell/reflex-sdl2")
+ (synopsis "SDL2 and reflex FRP")
+ (description
+ "This package provides a minimal host for sdl2 based reflex apps.")
+ (license license:expat))))
+
(define-public ghc-regex
(package
(name "ghc-regex")
--
2.40.1
next prev parent reply other threads:[~2023-06-14 12:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 12:46 [bug#64066] [PATCH 00/19] Add Plunder zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 01/19] gnu: Add ghc-proctest zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 02/19] gnu: Add ghc-hscolour zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 03/19] gnu: Add ghc-constraints-extras zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 04/19] gnu: Add ghc-indexed-profunctors zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 05/19] gnu: Add ghc-generic-lens-core zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 06/19] gnu: Add ghc-generic-lens zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 07/19] gnu: Add ghc-these-lens zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 08/19] gnu: Add ghc-sdl2-ttf zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 09/19] gnu: Add ghc-sdl2-gfx zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 10/19] gnu: Add ghc-exception-transformers zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 11/19] gnu: Add ghc-commutative-semigroup zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 12/19] gnu: Add ghc-dependent-sum zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 13/19] gnu: Add ghc-dependent-map zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 14/19] gnu: Add ghc-prim-uniq zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 15/19] gnu: Add ghc-patch zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 16/19] gnu: Add ghc-ref-tf zamfofex
2023-06-14 12:48 ` [bug#64066] [PATCH 17/19] gnu: Add ghc-reflex zamfofex
2023-06-14 12:48 ` zamfofex [this message]
2023-06-14 12:48 ` [bug#64066] [PATCH 19/19] gnu: Add Plunder zamfofex
2023-06-14 16:49 ` [bug#64066] [PATCH 00/19] " Liliana Marie Prikler
2023-07-07 13:34 ` bug#64066: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17921ee0a6f97f6930f4f403300209c75463a915.1686746569.git.zamfofex@twdb.moe \
--to=zamfofex@twdb.moe \
--cc=64066@debbugs.gnu.org \
--cc=lars@6xq.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).