guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

262/272: gnu: Add ghc-sdl2-image.


From: Ricardo Wurmus
Subject: 262/272: gnu: Add ghc-sdl2-image.
Date: Mon, 1 Oct 2018 06:13:58 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 21be24b74f1a0cac185637620d59a3764c539875
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Sep 28 08:31:36 2018 +0200

    gnu: Add ghc-sdl2-image.
    
    * gnu/packages/sdl.scm (ghc-sdl2-image): New variable.
---
 gnu/packages/sdl.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 06f419f..caa1d6d 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -587,3 +587,28 @@ programming.")
     (description "This package provides Haskell bindings to
 @code{SDL2_mixer}.")
     (license bsd-3)))
+
+(define-public ghc-sdl2-image
+  (package
+    (name "ghc-sdl2-image")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/sdl2-image/";
+                           "sdl2-image-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-sdl2" ,ghc-sdl2)
+       ("ghc-text" ,ghc-text)
+       ("sdl2-image" ,sdl2-image)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://hackage.haskell.org/package/sdl2-image";)
+    (synopsis "Bindings to SDL2_image")
+    (description "This package provides Haskell bindings to
address@hidden")
+    (license expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]