[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: Add ghc-x11.
From: |
Eric Bavier |
Subject: |
10/11: gnu: Add ghc-x11. |
Date: |
Mon, 24 Aug 2015 02:46:28 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 720fb41c6927062794257d78f17e3e825f694c82
Author: Siniša Biđin <address@hidden>
Date: Tue Aug 18 22:40:12 2015 +0200
gnu: Add ghc-x11.
* gnu/packages/haskell.scm (ghc-x11): New variable.
Signed-off-by: Eric Bavier <address@hidden>
---
gnu/packages/haskell.scm | 35 ++++++++++++++++++++++++++++++++++-
1 files changed, 34 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index d6d15c1..2e44910 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -33,7 +33,8 @@
#:use-module (gnu packages libedit)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
- #:use-module (gnu packages python))
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages xorg))
(define ghc-bootstrap-x86_64-7.8.4
(origin
@@ -496,6 +497,38 @@ for encoding UTF8 strings to Word8 lists and back, and for
reading and writing
UTF8 without truncation.")
(license bsd-3)))
+(define-public ghc-x11
+ (package
+ (name "ghc-x11")
+ (version "1.6.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://hackage.haskell.org/package/X11/"
+ "X11-" version ".tar.gz"))
+ (sha256
+ (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (add-before 'configure 'set-sh
+ (lambda _
+ (setenv "CONFIG_SHELL" "sh")
+ #t)))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("libx11" ,libx11)
+ ("libxrandr" ,libxrandr)
+ ("libxinerama" ,libxinerama)
+ ("libxscrnsaver" ,libxscrnsaver)))
+ (propagated-inputs
+ `(("ghc-data-default" ,ghc-data-default)))
+ (home-page "https://github.com/haskell-pkg-janitors/X11")
+ (synopsis "Bindings to the X11 graphics library")
+ (description
+ "This package provides Haskell bindings to the X11 graphics library. The
+bindings are a direct translation of the C bindings.")
+ (license bsd-3)))
+
(define-public ghc-zlib
(package
(name "ghc-zlib")
- branch master updated (9297065 -> c34507d), Eric Bavier, 2015/08/24
- 01/11: gnu: Add ghc-data-default-class., Eric Bavier, 2015/08/24
- 03/11: gnu: Add ghc-data-default-instances-containers., Eric Bavier, 2015/08/24
- 05/11: gnu: Add ghc-dlist., Eric Bavier, 2015/08/24
- 02/11: gnu: Add ghc-data-default-instances-base., Eric Bavier, 2015/08/24
- 04/11: gnu: Add ghc-data-default-instances-old-locale., Eric Bavier, 2015/08/24
- 07/11: gnu: Add ghc-data-default-instances-dlist., Eric Bavier, 2015/08/24
- 08/11: gnu: Add ghc-utf8-string., Eric Bavier, 2015/08/24
- 06/11: gnu: Add ghc-extensible-exceptions., Eric Bavier, 2015/08/24
- 11/11: gnu: Add ghc-x11-xft., Eric Bavier, 2015/08/24
- 10/11: gnu: Add ghc-x11.,
Eric Bavier <=
- 09/11: gnu: Add ghc-data-default., Eric Bavier, 2015/08/24