all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Siniša Biđin" <sinisa@bidin.eu>
To: guix-devel@gnu.org
Subject: [PATCH 10/13] gnu: Add ghc-x11.
Date: Tue, 18 Aug 2015 22:40:12 +0200	[thread overview]
Message-ID: <1439930415-16938-11-git-send-email-sinisa@bidin.eu> (raw)
In-Reply-To: <1439930415-16938-1-git-send-email-sinisa@bidin.eu>

* gnu/packages/haskell.scm (ghc-x11): New variable.
---
 gnu/packages/haskell.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4b011ff..02ffd2a 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
@@ -530,6 +531,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"))))))
+    (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 "A binding to the X11 graphics library")
+    (description
+      "A Haskell binding to the X11 graphics library. The binding is a direct
+translation of the C binding.")
+    (license bsd-3)))
+
 (define-public ghc-zlib
   (package
     (name "ghc-zlib")
-- 
2.4.3

  parent reply	other threads:[~2015-08-18 20:40 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 20:40 [PATCH 00/13] Add xmonad, xmonad-contrib and dependencies Siniša Biđin
2015-08-18 20:40 ` [PATCH 01/13] gnu: Add ghc-data-default-class Siniša Biđin
2015-08-18 20:40 ` [PATCH 02/13] gnu: Add ghc-data-default-instances-base Siniša Biđin
2015-08-18 20:40 ` [PATCH 03/13] gnu: Add ghc-data-default-instances-containers Siniša Biđin
2015-08-23 21:07   ` Eric Bavier
2015-08-18 20:40 ` [PATCH 04/13] gnu: Add ghc-data-default-instances-old-locale Siniša Biđin
2015-08-18 20:40 ` [PATCH 05/13] gnu: Add ghc-dlist Siniša Biđin
2015-08-18 20:40 ` [PATCH 06/13] gnu: Add ghc-extensible-exceptions Siniša Biđin
2015-08-18 20:40 ` [PATCH 07/13] gnu: Add ghc-data-default-instances-dlist Siniša Biđin
2015-08-23 21:09   ` Eric Bavier
2015-08-18 20:40 ` [PATCH 08/13] gnu: Add ghc-utf8-string Siniša Biđin
2015-08-18 20:40 ` [PATCH 09/13] gnu: Add ghc-data-default Siniša Biđin
2015-08-18 20:40 ` Siniša Biđin [this message]
2015-08-23 21:11   ` [PATCH 10/13] gnu: Add ghc-x11 Eric Bavier
2015-08-18 20:40 ` [PATCH 11/13] gnu: Add ghc-x11-xft Siniša Biđin
2015-08-23 21:12   ` Eric Bavier
2015-08-18 20:40 ` [PATCH 12/13] gnu: Add xmonad Siniša Biđin
2015-08-23 20:47   ` Eric Bavier
2015-08-24  3:00     ` Siniša Biđin
2015-08-31 15:52       ` Ludovic Courtès
2015-08-31 22:02         ` Eric Bavier
2015-09-11  8:38         ` Eric Bavier
2015-09-12 14:05           ` Siniša Biđin
2015-08-18 20:40 ` [PATCH 13/13] gnu: Add ghc-xmonad-contrib Siniša Biđin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439930415-16938-11-git-send-email-sinisa@bidin.eu \
    --to=sinisa@bidin.eu \
    --cc=guix-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.