From 027b79762a31cb0b78d44a65ed9bc4343ad0954b Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 18 Sep 2016 16:09:55 +0000 Subject: [PATCH] gnu: Add ghc-findbin. * gnu/packages/haskell.scm (ghc-findbin): New variable. Signed-off-by: Leo Famulari --- gnu/packages/haskell.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 9205e958c0..099c3e6c5b 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6780,4 +6780,27 @@ (define-public ghc-transformers 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