From patchwork Sun Sep 18 16:09:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: non such X-Patchwork-Id: 15726 Received: (qmail 27685 invoked by uid 89); 18 Sep 2016 16:12:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=locate, 005 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 18 Sep 2016 16:12:36 +0000 Received: from localhost ([::1]:50738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blehn-0004aQ-9T for patchwork@sourceware.org; Sun, 18 Sep 2016 12:12:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegJ-0003Fm-AO for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blegF-00074c-E9 for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:02 -0400 Received: from aibo.runbox.com ([91.220.196.211]:34107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegF-000745-6s for guix-devel@gnu.org; Sun, 18 Sep 2016 12:10:59 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1blegE-0000kw-Kl for guix-devel@gnu.org; Sun, 18 Sep 2016 18:10:58 +0200 Received: from xd9bb9a67.dyn.telefonica.de ([217.187.154.103] helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bleg8-00054B-Kb; Sun, 18 Sep 2016 18:10:52 +0200 From: ng0 To: guix-devel@gnu.org Subject: [PATCH 15/42] gnu: Add ghc-findbin. Date: Sun, 18 Sep 2016 16:09:55 +0000 Message-Id: <20160918161022.26135-15-ng0@we.make.ritual.n0.is> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> References: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.220.196.211 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/haskell.scm (ghc-findbin): New variable. --- gnu/packages/haskell.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index ac86c42..c4aecdc 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6775,4 +6775,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 "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