[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/20: gnu: Add ghc-reflex-sdl2.
From: |
guix-commits |
Subject: |
19/20: gnu: Add ghc-reflex-sdl2. |
Date: |
Fri, 7 Jul 2023 09:31:47 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6a37e77bd31cbf9762ada9afb1e1140a45655d96
Author: zamfofex <zamfofex@twdb.moe>
AuthorDate: Wed Jun 14 09:48:58 2023 -0300
gnu: Add ghc-reflex-sdl2.
* gnu/packages/haskell-xyz.scm (ghc-reflex-sdl2): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 9eb9ea39db..12d1246c58 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9776,6 +9776,44 @@ fully-deterministic, higher-order FRP interface and an
engine that efficiently
implements that interface.")
(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 functional reactive programming")
+ (description
+ "This package provides a minimal host for SDL2-based Reflex
+applications.")
+ (license license:expat))))
+
(define-public ghc-regex
(package
(name "ghc-regex")
- 07/20: gnu: Add ghc-generic-lens., (continued)
- 07/20: gnu: Add ghc-generic-lens., guix-commits, 2023/07/07
- 08/20: gnu: Add ghc-these-lens., guix-commits, 2023/07/07
- 16/20: gnu: Add ghc-patch., guix-commits, 2023/07/07
- 06/20: gnu: Add ghc-generic-lens-core., guix-commits, 2023/07/07
- 18/20: gnu: Add ghc-reflex., guix-commits, 2023/07/07
- 10/20: gnu: Add ghc-sdl2-gfx., guix-commits, 2023/07/07
- 11/20: gnu: Add ghc-exception-transformers., guix-commits, 2023/07/07
- 17/20: gnu: Add ghc-ref-tf., guix-commits, 2023/07/07
- 14/20: gnu: Add ghc-dependent-map., guix-commits, 2023/07/07
- 12/20: gnu: Add ghc-commutative-semigroup., guix-commits, 2023/07/07
- 19/20: gnu: Add ghc-reflex-sdl2.,
guix-commits <=
- 03/20: gnu: Add ghc-hscolour., guix-commits, 2023/07/07
- 13/20: gnu: Add ghc-dependent-sum., guix-commits, 2023/07/07
- 01/20: avahi: Poll less., guix-commits, 2023/07/07
- 15/20: gnu: Add ghc-prim-uniq., guix-commits, 2023/07/07