diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-09-28 08:31:36 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-10-01 12:12:23 +0200 |
commit | 21be24b74f1a0cac185637620d59a3764c539875 (patch) | |
tree | 2f921ef19126cf8f440e8c8a027adc1fa99560fd /gnu/packages/sdl.scm | |
parent | d975534e856dc6c8426d9f28af3b5d30ead31ac3 (diff) | |
download | patches-21be24b74f1a0cac185637620d59a3764c539875.tar patches-21be24b74f1a0cac185637620d59a3764c539875.tar.gz |
gnu: Add ghc-sdl2-image.
* gnu/packages/sdl.scm (ghc-sdl2-image): New variable.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r-- | gnu/packages/sdl.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 06f419f900..caa1d6d1c1 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 +@code{SDL2_image}.") + (license expat))) |