From 93eafbcda51ef8da96c700cdce2acaadb388c6c1 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:06:19 -0800 Subject: [PATCH 20/34] gnu: Add ghc-optparse-simple. * gnu/packages/haskell-xyz.scm (ghc-optparse-simple): New variable. --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 9b4a106990..320583fffc 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8577,6 +8577,33 @@ easily work with command-line options.") command line options in Haskell.") (license license:bsd-3))) +(define-public ghc-optparse-simple + (package + (name "ghc-optparse-simple") + (version "0.1.1.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/optparse-simple/optparse-simple-" + version + ".tar.gz")) + (sha256 + (base32 + "1r00hkri42vyx552l8hcd1779fxiyl9w4k0pql915zsprirn8w82")))) + (build-system haskell-build-system) + (inputs + `(("ghc-githash" ,ghc-githash) + ("ghc-optparse-applicative" ,ghc-optparse-applicative) + ("ghc-semigroups" ,ghc-semigroups))) + (home-page + "https://github.com/fpco/optparse-simple#readme") + (synopsis + "Simple interface to optparse-applicative") + (description + "Simple interface to optparse-applicative.") + (license license:bsd-3))) + (define-public ghc-pandoc (package (name "ghc-pandoc") -- 2.25.0