From patchwork Sun Sep 18 16:10:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: non such X-Patchwork-Id: 15748 Received: (qmail 29742 invoked by uid 89); 18 Sep 2016 16:15:28 -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= 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:15:18 +0000 Received: from localhost ([::1]:50771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blekO-0006tI-Fg for patchwork@sourceware.org; Sun, 18 Sep 2016 12:15:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegt-0003tQ-BT for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blegr-0007iL-3q for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:39 -0400 Received: from aibo.runbox.com ([91.220.196.211]:34178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegq-0007ht-Sk for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:37 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1blegq-0001Nt-C9 for guix-devel@gnu.org; Sun, 18 Sep 2016 18:11:36 +0200 Received: from xd9bb9a67.dyn.telefonica.de ([217.187.154.103] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1blegR-0002Rq-7X; Sun, 18 Sep 2016 18:11:11 +0200 From: ng0 To: guix-devel@gnu.org Subject: [PATCH 33/42] gnu: Add ghc-options-bootstrap. Date: Sun, 18 Sep 2016 16:10:13 +0000 Message-Id: <20160918161022.26135-33-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-options-bootstrap): New variable. --- gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 50f83ba..5de29f9 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -7243,4 +7243,30 @@ which can't be decoded in the current locale encoding.") spirit to POSIX shells. Shelly is originally forked from the Shellish package.") (license license:bsd-3))) +;; See ghc-system-filepath-bootstrap, chell and chell-quickcheck are required for tests. +(define ghc-options-bootstrap + (package + (name "ghc-options-bootstrap") + (version "1.2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/options/options-" + version ".tar.gz")) + (sha256 + (base32 + "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) + (inputs + `(("ghc-monads-tf" ,ghc-monads-tf))) + (home-page "https://john-millikin.com/software/haskell-options/") + (synopsis "Powerful and easy-to-use command-line option parser") + (description + "The @code{options} package lets library and application developers +easily work with command-line options.") + (license license:expat))) + ;;; haskell.scm ends here