guix-commits
[Top][All Lists]
Advanced

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

16/40: gnu: Add ghc-findbin.


From: Leo Famulari
Subject: 16/40: gnu: Add ghc-findbin.
Date: Fri, 23 Sep 2016 00:10:17 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit 027b79762a31cb0b78d44a65ed9bc4343ad0954b
Author: ng0 <address@hidden>
Date:   Sun Sep 18 16:09:55 2016 +0000

    gnu: Add ghc-findbin.
    
    * gnu/packages/haskell.scm (ghc-findbin): New variable.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/haskell.scm |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9205e95..099c3e6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6780,4 +6780,27 @@ which automatically lift operations introduced by monad 
transformers through
 other transformers.")
     (license license:bsd-3)))
 
+(define-public ghc-findbin
+  (package
+    (name "ghc-findbin")
+    (version "0.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/FindBin/FindBin-";
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/audreyt/findbin";)
+    (synopsis "Get the absolute path of the running program")
+    (description
+     "This module locates the full directory of the running program, to allow
+the use of paths relative to it.  FindBin supports invocation of Haskell
+programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
+an executable.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

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