From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 25/43] gnu: Add ghc-fgl-arbitrary. Date: Sun, 4 Sep 2016 16:17:24 +0000 Message-ID: <20160904161742.27197-25-ng0@we.make.ritual.n0.is> References: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7U-0005WT-WD for guix-devel@gnu.org; Sun, 04 Sep 2016 12:18:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bga7S-00062T-NO for guix-devel@gnu.org; Sun, 04 Sep 2016 12:18:07 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:56003 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7S-0005re-Dv for guix-devel@gnu.org; Sun, 04 Sep 2016 12:18:06 -0400 In-Reply-To: <20160904161742.27197-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-fgl-arbitrary): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index db983df..cd02060 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6990,4 +6990,31 @@ files and directories in a portable way.") "A clone of wl-pprint for use with the text library.") (license license:bsd-3))) +(define-public ghc-fgl-arbitrary + (package + (name "ghc-fgl-arbitrary") + (version "0.2.0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/fgl-arbitrary/fgl-arbitrary-" + version ".tar.gz")) + (sha256 + (base32 + "12qbsla4vivffris6y3gj29vrafkpyazqdbdy2m55nggypqpf7ah")))) + (build-system haskell-build-system) + (inputs + `(("ghc-fgl" ,ghc-fgl) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec))) + (home-page "http://hackage.haskell.org/package/fgl-arbitrary") + (synopsis "QuickCheck support for fgl") + (description + "Provides Arbitrary instances for fgl graphs to avoid adding a +QuickCheck dependency for fgl whilst still making the instances +available to others. Also available are non-fgl-specific functions +for generating graph-like data structures.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3