From 6eacbecc63873a7220f7669ee5471b89a2949acf Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:09:42 -0800 Subject: [PATCH 22/31] gnu: Add ghc-open-browser. * gnu/packages/haskell-xyz.scm (ghc-open-browser): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 5d4b700b64..e41f654630 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -9204,6 +9204,29 @@ native tuples; whereas the primary purpose of @code{Only} is to provide the traditionally so named type-wrapper for attaching typeclass instances.") (license license:bsd-3))) +(define-public ghc-open-browser + (package + (name "ghc-open-browser") + (version "0.2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/open-browser/open-browser-" + version + ".tar.gz")) + (sha256 + (base32 + "0rna8ir2cfp8gk0rd2q60an51jxc08lx4gl0liw8wwqgh1ijxv8b")))) + (build-system haskell-build-system) + (home-page + "https://github.com/rightfold/open-browser") + (synopsis "Open a web browser from Haskell") + (description + "Open a web browser from Haskell. Currently BSD, Linux, OS X and Windows +are supported.") + (license license:bsd-3))) + (define-public ghc-opengl (package (name "ghc-opengl") -- 2.29.2