guix-commits
[Top][All Lists]
Advanced

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

11/11: gnu: Add ghc-x11-xft.


From: Eric Bavier
Subject: 11/11: gnu: Add ghc-x11-xft.
Date: Mon, 24 Aug 2015 02:46:28 +0000

bavier pushed a commit to branch master
in repository guix.

commit c34507d662979a69a0d0738d64e21d4866931b88
Author: Siniša Biđin <address@hidden>
Date:   Tue Aug 18 22:40:13 2015 +0200

    gnu: Add ghc-x11-xft.
    
    * gnu/packages/haskell.scm (ghc-x11-xft): New variable.
    
    Signed-off-by: Eric Bavier <address@hidden>
---
 gnu/packages/haskell.scm |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2e44910..4b2b627 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -18,12 +18,13 @@
 
 (define-module (gnu packages haskell)
   #:use-module (ice-9 regex)
-  #:use-module ((guix licenses) #:select (bsd-3))
+  #:use-module ((guix licenses) #:select (bsd-3 lgpl2.1))
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system haskell)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages elf)
@@ -529,6 +530,34 @@ UTF8 without truncation.")
 bindings are a direct translation of the C bindings.")
     (license bsd-3)))
 
+(define-public ghc-x11-xft
+  (package
+    (name "ghc-x11-xft")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://hackage.haskell.org/package/X11-xft/";
+                           "X11-xft-" version ".tar.gz"))
+       (sha256
+        (base32 "1lgqb0s2qfwwgbvwxhjbi23rbwamzdi0l0slfr20c3jpcbp3zfjf"))))
+    (propagated-inputs
+     `(("ghc-x11" ,ghc-x11)
+       ("ghc-utf8-string" ,ghc-utf8-string)))
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxft" ,libxft)
+       ("xproto" ,xproto)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (build-system haskell-build-system)
+    (home-page "http://hackage.haskell.org/package/X11-xft";)
+    (synopsis "Bindings to Xft")
+    (description
+     "Bindings to the Xft, X Free Type interface library, and some Xrender
+parts.")
+    (license lgpl2.1)))
+
 (define-public ghc-zlib
   (package
     (name "ghc-zlib")



reply via email to

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