From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH v3] gnu: Add ghc-markdown-unlit. Date: Thu, 05 Jan 2017 19:00:51 +0100 Message-ID: <87zij5idyk.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <87o9zly5cq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170105155056.7726-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]:42130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPCLR-0006Aq-NI for guix-devel@gnu.org; Thu, 05 Jan 2017 13:00:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPCLO-0002rM-LW for guix-devel@gnu.org; Thu, 05 Jan 2017 13:00:57 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57652) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPCLO-0002q7-Fk for guix-devel@gnu.org; Thu, 05 Jan 2017 13:00:54 -0500 In-Reply-To: <20170105155056.7726-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 | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm > index de061a630..5d3c85475 100644 > --- a/gnu/packages/haskell.scm > +++ b/gnu/packages/haskell.scm > @@ -8073,4 +8073,31 @@ 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-u= nlit/" > + "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))) I noticed this was referenced by the binary and library for some reason, so I made hspec-discover a regular input. It would be good to figure out why it's referenced as it doesn't seem like it should be needed. Pushed with indentation fixes! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhuidMACgkQoqBt8qM6 VPoBcQf/Ug+AGqSGJFjMjIC72/eK6k6sza6pqYzXvnCvuStxV6TlDOZ8B+lwKWsS mEwmBo79p03wfjOezh9i8mF45h60Ogl8VcA1NddKu4+erMA8e4RF6TR6P0MKlDtw Rvjpchs4SsBqEHDpt6pfeNsIDX1bVsvVAPVPkQGI92BJ71HslMo0QnN3L+j+ATJo 215DdJyOLYIFXk0l8fiH/sqoUyQ3HXcGvy3CLFMkc49GVdzw2gbtQnmeoGDpClEd e1EZpVem3xx6wTb/sO4/BZykIaul/GVnRDda/N+STwv2oIWy5x2nmnTGQ6XiKGGE GVvUGEPWcsbkqn6d5LnoA7UKs2EW9g== =+LOA -----END PGP SIGNATURE----- --=-=-=--