From patchwork Thu Oct 31 12:46:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69691 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C5D2027BBEB; Thu, 31 Oct 2024 12:53:51 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6DA2127BBE2 for ; Thu, 31 Oct 2024 12:53:51 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6Ug8-0003P8-7n; Thu, 31 Oct 2024 08:53:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6Uff-0002pe-0I for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6Ufe-00020t-Np for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Hfu6VI6BBXPSH6j59/d7kkAv92o1O0SR7dufBZMULLY=; b=G7nZkgpUC62nwtmejgmY4YauDg6Y6oENSIefR0Fzt17GAW6T5VKbbkmp2t/DFRE7xKMVnM3tamEwZahnvPz/kdmhu01sZKMyCs/me+SVpE7dQ/c4d+V6iAcLW4GDux9qbUl6eWnF81Z9P83yk3iOdwjUrYd7VxWbBjQf1bpsXWfRcdHv79sCa9Rg5ARqosDCO/pkWIqVpph1+7MghiQGFnTLOcWpC842Y5lzxMKMajrDf6iJJlUO4HM2esNHp+zDHC0gw3eP5WFPIVhvtr96BSK3KTfWVuV0vgbSTtgN5Bpym4FUtjHqDNm1B7HxbSx/AP9hPmusnprWpGqS7bzA8g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6Ufe-0007t1-GK for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67921] [PATCH v3 03/24] gnu: Add ghc-js-flot-bootstrap-for-9.6 Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Oct 2024 12:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67921 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67921@debbugs.gnu.org Cc: dev@jpoiret.xyz, lars@6xq.net, saku@laesvuori.fi Received: via spool by 67921-submit@debbugs.gnu.org id=B67921.173037912430029 (code B ref 67921); Thu, 31 Oct 2024 12:53:02 +0000 Received: (at 67921) by debbugs.gnu.org; 31 Oct 2024 12:52:04 +0000 Received: from localhost ([127.0.0.1]:41896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6Uei-0007oB-4u for submit@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:04 -0400 Received: from 4.mo582.mail-out.ovh.net ([87.98.184.159]:40671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6UeV-0007mc-GJ for 67921@debbugs.gnu.org; Thu, 31 Oct 2024 08:51:52 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.148.12]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XfP5L0312z1VdN for <67921@debbugs.gnu.org>; Thu, 31 Oct 2024 12:51:49 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-r49l8 (unknown [10.111.182.85]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D8FE11FEB5; Thu, 31 Oct 2024 12:51:48 +0000 (UTC) Received: from ngraves.fr ([37.59.142.108]) by ghost-submission-5b5ff79f4f-r49l8 with ESMTPSA id bp2DH2R9I2eRLwEAoUlMYg (envelope-from ); Thu, 31 Oct 2024 12:51:48 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-108S00270be935b-c837-4850-a015-2af404e8f769, CD33DFF0435C6B52A7C438D6B876B70D33D893A4) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.214.74.119 Date: Thu, 31 Oct 2024 13:46:42 +0100 Message-ID: <20241031125127.14080-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241031125127.14080-1-ngraves@ngraves.fr> References: <20241031125127.14080-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 9035628228667105830 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekhedggedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteejveekjeefhfeuieevvdfggfejveeiteevheejteegheekjedtfffhveehjeetnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpfhhlohhttghhrghrthhsrdhorhhgnecukfhppeduvdejrddtrddtrddupdektddrvddugedrjeegrdduudelpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeeijeelvdduseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=Hfu6VI6BBXPSH6j59/d7kkAv92o1O0SR7dufBZMULLY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730379110; v=1; b=tX7VAqtYAg7NpGCS2e6h6oIGS7YsMUqP6u4lhgJiaeKdQy6cU6I+xL/KlziuL9gPb8F4QKKf mqmBOd5UYORybES03rG8OOsQRXRZNqlkMep9yblLvTI0h4zjyPGm6oEH/YRyX5hZZ6/u27/v+I3 dPn0Pri9JwRNWCq9QYdQC92zg2/aRmLaf7N/4CIoEbkSIT9WfEu9dt+KEp6ob3z80yGyvZyAMkT hSWuxXoCn1qw6q//89fpXH8FOSPvRjEl8qBL3w8av+UE+VKDO1Ftg0xSFtowGsuC8GI0AmRTLal AMNQEDOXTMGGd8O7nSgbXcfco7AMjUCQOO7AYxIYyKCnw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Saku Laesvuori * gnu/packages/haskell.scm (ghc-js-flot-bootstrap-for-9.6): New variable. Change-Id: Ie01768c263084a3aa38b7120de832913a80fc99a --- gnu/packages/haskell.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 4e2875cffa..05be1c019a 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1608,4 +1608,34 @@ (define-public ghc-9.4 (file-pattern ".*\\.conf\\.d$") (file-type 'directory))))))) +;;; Bootstrap packages for hadrian, the new GHC build system + +(define ghc-bootstrap-for-9.6 ghc-9.4) + +(define ghc-js-flot-bootstrap-for-9.6 + (package + (name "ghc-js-flot-bootstrap") + (version "0.8.3") + (source + (origin + (method url-fetch) + (uri + (hackage-uri "js-flot" version)) + (sha256 + (base32 + "0yjyzqh3qzhy5h3nql1fckw0gcfb0f4wj9pm85nafpfqp2kg58hv")))) + (build-system haskell-build-system) + (arguments (list #:tests? #f + #:haskell ghc-bootstrap-for-9.6)) + (properties '((upstream-name . "js-flot"))) + (home-page "https://github.com/ndmitchell/js-flot") + (synopsis "Obtain minified flot code") + (description "This package bundles the minified +@url{http://www.flotcharts.org/, Flot} code (a jQuery plotting library) +into a Haskell package, so it can be depended upon by Cabal packages. +The first three components of the version number match the upstream flot +version. The package is designed to meet the redistribution +requirements of downstream users (e.g. Debian).") + (license license:expat))) + ;;; haskell.scm ends here