From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 28/29] gnu: Add ghc-findbin. Date: Sat, 3 Sep 2016 12:46:27 +0000 Message-ID: <20160903124628.14100-28-ng0@we.make.ritual.n0.is> References: <20160903124628.14100-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgALg-0001lw-KF for guix-devel@gnu.org; Sat, 03 Sep 2016 08:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgALe-0000LP-J2 for guix-devel@gnu.org; Sat, 03 Sep 2016 08:47:03 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:49722 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgALe-0000Ax-9O for guix-devel@gnu.org; Sat, 03 Sep 2016 08:47:02 -0400 In-Reply-To: <20160903124628.14100-1-ng0@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-findbin): New variable. --- gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 6f842b3..bf5d1d5 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -7081,4 +7081,28 @@ the classes @code{IArray} of immutable arrays and @code{MArray} of arrays mutabl within appropriate monads, as well as some instances of these classes.") (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-0.0.5/" + "FindBin-" version ".tar.gz")) + (sha256 + (base32 + "197xvn05yysmibm1p5wzxfa256lvpbknr5d1l2ws6g40w1kpk717")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/FindBin") + (synopsis "Locate directory of original program") + (description + "This module locates the full directory to 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 -- 2.9.3