From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH v2] gnu: Add ghc-markdown-unlit. Date: Thu, 05 Jan 2017 15:00:05 +0100 Message-ID: <87o9zly5cq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20170104152110.11183-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cP8aV-0002zV-8i for guix-devel@gnu.org; Thu, 05 Jan 2017 09:00:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cP8aQ-00063U-UW for guix-devel@gnu.org; Thu, 05 Jan 2017 09:00:15 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55013) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cP8aQ-00063E-QC for guix-devel@gnu.org; Thu, 05 Jan 2017 09:00:10 -0500 In-Reply-To: <20170104152110.11183-1-dannym@scratchpost.org> 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: Danny Milosavljevic , guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Danny Milosavljevic writes: > * gnu/packages/haskell.scm (ghc-markdown-unlit): New variable. > --- > gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index de061a630..1f6611d0b 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -8073,4 +8073,33 @@ It features a complete, well-tested parser and pre= tty printer for all of C99 > and a large set of GNU extensions.") > (license license:bsd-3))) >=20=20 > +(define-public ghc-markdown-unlit > + (package > + (name "ghc-markdown-unlit") > + (version "0.4.0") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/markdown-unlit/" > + "markdown-unlit-" version ".tar.gz")) > + (sha256 > + (base32 > + "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw")))) > + (build-system haskell-build-system) > + (inputs > + `(("ghc-base-compat" ,ghc-base-compat) > + ("ghc-hspec" ,ghc-hspec) > + ("ghc-quickcheck" ,ghc-quickcheck) > + ("ghc-silently" ,ghc-silently) > + ("ghc-stringbuilder" ,ghc-stringbuilder) > + ("ghc-temporary" ,ghc-temporary))) > + (native-inputs > + `(("hspec-discover" ,hspec-discover))) > + (home-page "https://github.com/sol/markdown-unlit#readme") > + (synopsis "Literate Haskell support for Markdown") > + (description "This package allows you to have a README.md that at the > +same time is a literate Haskell program. See also $url{Documentation, > +https://github.com/sol/markdown-unlit#readme}.") I don't think linking the home page in the description is necessary. What do you think about removing the last sentence? Otherwise LGTM with a few indentation changes that can be fixed before pushing ;-) As a side note, do we have volunteers to make the hackage importer return a "mirror://hackage" uri? IIRC this is needed for pypi too. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhuUWUACgkQoqBt8qM6 VPpVkQf+P3o4bZGwPgfEWLazSGC8c0T8ddQO/DCo/3DshVlTlzvCbHzwzsSE4SF6 +4hH31NE+45wj/6fyejhzi28Ajw+4xouWS0OLiAjDSN1rF45XHtdf74IMvje3c9a +mXzOaMWAYB3nAjmBgyKMr0tEjYB4d2e9Beja03Tk4pwWHT4xQUR2EdD/pupZfaa RcqyadOUKKHpLn69PdFeaaoknOgsXrsI6dRLzOzNaOTHBmAusRRcL9OWzwYyks7w wC/bUHlF6543es3ebgQvMzqgomsE4hH5pIXvvLMMgmBFYk3tB+w3T7zqe97Y8lVY MCW5jgrBG/NcuCTy6REn5G9h88JSYQ== =ff6a -----END PGP SIGNATURE----- --=-=-=--