From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QNAOGAwixF9nWgAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 22:34:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8I3SEwwixF+vGQAA1q6Kng (envelope-from ) for ; Sun, 29 Nov 2020 22:34:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2B0939401BC for ; Sun, 29 Nov 2020 22:34:52 +0000 (UTC) Received: from localhost ([::1]:35286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjVHO-00005v-Vo for larch@yhetil.org; Sun, 29 Nov 2020 17:34:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjVGg-0008VU-9W for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjVGe-0005cK-F6 for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjVGe-0002V7-Cf for guix-patches@gnu.org; Sun, 29 Nov 2020 17:34:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44954] [PATCH 06/12] gnu: Add ghc-hjsmin. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 22:34:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44954 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44954@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 44954-submit@debbugs.gnu.org id=B44954.16066892149501 (code B ref 44954); Sun, 29 Nov 2020 22:34:04 +0000 Received: (at 44954) by debbugs.gnu.org; 29 Nov 2020 22:33:34 +0000 Received: from localhost ([127.0.0.1]:52855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVGA-0002T4-FB for submit@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:34 -0500 Received: from latitanza.investici.org ([82.94.249.234]:38895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjVFx-0002RW-4j for 44954@debbugs.gnu.org; Sun, 29 Nov 2020 17:33:21 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4CkjnD4gQTz8sgl; Sun, 29 Nov 2020 22:33:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1606689200; bh=ho5UMOjcmZvx13qdMjesOKtPizfVlD9s3pvCZh4z0pk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O+tE+VplNfS9QqdhZYTNMlUo2IZea5lX2g9MLbtY3J42/LJnDozcuq9t6qaHOTFsw O11hkXc8JrGND62UoJA1jEyshqpMs2+cszbjLKwX5vtO/p2RtocbKQKLiap5d2fiL6 jrpITdUaRKlT0XtEv3n7cmyR+0a7GBn2TE0rqD80= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4CkjnC5vbkz8sgL; Sun, 29 Nov 2020 22:33:19 +0000 (UTC) From: Giacomo Leidi Date: Sun, 29 Nov 2020 23:32:55 +0100 Message-Id: <20201129223301.19210-6-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129223301.19210-1-goodoldpaul@autistici.org> References: <20201129223301.19210-1-goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 3.72 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=autistici.org header.s=stigmate header.b=O+tE+Vpl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-TUID: VfQGBUs7fVYq * gnu/packages/haskell-web.scm (ghc-hjsmin): New variable. --- gnu/packages/haskell-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 424a734900..e00afbaf8c 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -2129,3 +2129,35 @@ using CSS selectors.") "This package provides a WAI application for static serving provides some helper functions and datatypes for use outside of WAI.") (license license:expat))) + +(define-public ghc-hjsmin + (package + (name "ghc-hjsmin") + (version "0.2.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hjsmin/hjsmin-" + version + ".tar.gz")) + (sha256 + (base32 + "1r2p5rjdjr25j3w4s57q5hxw2c3ymw12x7ms18yvglnq2ivr9fc1")))) + (build-system haskell-build-system) + (arguments + `(#:tests? #f)) ;there are none + (inputs + `(("ghc-language-javascript" + ,ghc-language-javascript) + ("ghc-optparse-applicative" + ,ghc-optparse-applicative))) + (native-inputs `(("ghc-extra" ,ghc-extra))) + (home-page "https://github.com/erikd/hjsmin") + (synopsis + "Haskell implementation of a javascript minifier") + (description + "This package reduces size of javascript files by stripping +out extraneous whitespace and other syntactic elements, without +changing the semantics.") + (license license:bsd-3))) -- 2.29.2