From patchwork Thu Oct 31 12:47:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 69685 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 4874F27BBEA; Thu, 31 Oct 2024 12:53:32 +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 B68E927BBE2 for ; Thu, 31 Oct 2024 12:53:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6Ug0-00039O-9D; Thu, 31 Oct 2024 08:53:24 -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 1t6Ufo-0002ut-Ps for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:13 -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 1t6Ufo-00023Q-HR for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:12 -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=HSt4SXkqLPu3uWBp10gOWIo2TynsUh0ve2wbuNr+guU=; b=ZA7hvsNqNNTnoRj6L6DLv5T8mLwo9jBaYSVlJ8REWsGieCu0TH6la2elaFwjIYD4WOXTFAi6yFeaZf7bQUpoPh5X74E31aWWSx/Q5knXwofJL0lutqFjpArroTEOB0TXl8p03ZE0s/2RBy0eAQOcCE6KmzA43wyJFBcPkgaOA2gRpIXax0rJNuJco4pAH5rGQjy6QILo9BKyHvD9n6ygMPkQCiANMuOgGRnx8hKLJy3pw1f+TwY3lO48Q6s8Xz0mtkwj3wr4n5uQ1nzvXDOY+PZSPiz9MOTmeQBMuOWCOMnfWOJf3lskbqA3e2OQAGcOOay3iG6Cl/35DqrhjWxOhQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6Ufo-0007v7-At for guix-patches@gnu.org; Thu, 31 Oct 2024 08:53:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#67921] [PATCH v3 21/24] gnu: Add ghc-shake-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:12 +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.173037917130286 (code B ref 67921); Thu, 31 Oct 2024 12:53:12 +0000 Received: (at 67921) by debbugs.gnu.org; 31 Oct 2024 12:52:51 +0000 Received: from localhost ([127.0.0.1]:41964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6UfS-0007sO-UE for submit@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:51 -0400 Received: from 5.mo561.mail-out.ovh.net ([87.98.178.36]:49707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6UfN-0007qy-Ct for 67921@debbugs.gnu.org; Thu, 31 Oct 2024 08:52:46 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.17.245]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4XfP6N1Gkrz1NB5 for <67921@debbugs.gnu.org>; Thu, 31 Oct 2024 12:52:44 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-2z8j5 (unknown [10.110.178.153]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AD2AA1FE03; Thu, 31 Oct 2024 12:52:43 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-5b5ff79f4f-2z8j5 with ESMTPSA id 7ZJsHpt9I2ewpAAADiq/dQ (envelope-from ); Thu, 31 Oct 2024 12:52:43 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G0052f946a77-4daa-4fd0-bdcf-255799800119, CD33DFF0435C6B52A7C438D6B876B70D33D893A4) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.214.74.119 Date: Thu, 31 Oct 2024 13:47:00 +0100 Message-ID: <20241031125127.14080-22-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: 9051109354249708070 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekhedggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepieeufedvvdfgkefhhfeuveeiueeltdevjeejgfelkeduueefleeghefgkeekheefnecuffhomhgrihhnpehshhgrkhgvsghuihhlugdrtghomhenucfkphepuddvjedrtddrtddruddpkedtrddvudegrdejgedrudduledpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieejledvudesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=HSt4SXkqLPu3uWBp10gOWIo2TynsUh0ve2wbuNr+guU=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1730379164; v=1; b=pElWVSHVeEjUFEZGDZ9zsI+kqBhL1Yii3i9BOtgX5LD3GOJbfq7BUhkc4mJvV72vLFsVjX7g KHzsBtcqIdeEzBHakfu3U4pOT/y5XH3ow7gct5Fc8arAGC8HASwFHtqNiceyaop19QutFiL60q0 sTcScyIlSpqbhGy9/Lry39QYewoll7jfevvHoZeXyIZva2VrUY+wXokHuv6OXILnkui7/63TaQl 8TgJCfaVJK3nux36IZLsjs79CLZzaUmjsh9kw8319EiTCzRoDqYE3kgx83EAMEhh/3qrd1iBd71 VVNQCFBL6jVG77qll9K9yslQeMWClWaGMANNUDRCdiIyA== 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-shake-bootstrap-for-9.6): New variable. Change-Id: I195bc5f779709ef7b2ccefe2271402ef342bc0b8 --- gnu/packages/haskell.scm | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 0ffc4df728..4bd1ef150b 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1612,6 +1612,62 @@ (define-public ghc-9.4 (define ghc-bootstrap-for-9.6 ghc-9.4) +(define ghc-shake-bootstrap-for-9.6 + (package + (name "ghc-shake-bootstrap") + (version "0.19.7") + (source + (origin + (method url-fetch) + (uri (hackage-uri "shake" version)) + (sha256 + (base32 "1lcr6q53qwm308bny6gfawcjhxsmalqi3dnwckam02zp2apmcaim")))) + (build-system haskell-build-system) + (properties '((upstream-name . "shake"))) + (inputs (list bash-minimal + ghc-extra-bootstrap-for-9.6 + ghc-filepattern-bootstrap-for-9.6 + ghc-hashable-bootstrap-for-9.6 + ghc-heaps-bootstrap-for-9.6 + ghc-js-dgtable-bootstrap-for-9.6 + ghc-js-flot-bootstrap-for-9.6 + ghc-js-jquery-bootstrap-for-9.6 + ghc-primitive-bootstrap-for-9.6 + ghc-random-bootstrap-for-9.6 + ghc-unordered-containers-bootstrap-for-9.6 + ghc-utf8-string-bootstrap-for-9.6 + ghc-semigroups-bootstrap-for-9.6)) + (arguments + (list #:cabal-revision '("1" + "1hz57kw5pp5cpbicbi7x8sz8c6qy58dzyiljz9b9f2r1rr683d9w") + #:tests? #f + #:haskell ghc-bootstrap-for-9.6 + #:phases + #~(modify-phases %standard-phases + (add-after 'patch-source-shebangs 'patch-/bin/sh + (lambda _ + (for-each + (lambda (file) + (substitute* + file + (("/bin/sh") + #$(file-append (this-package-input "bash-minimal") + "/bin/sh")))) + '("src/Development/Shake/Command.hs"))))))) + (home-page "https://shakebuild.com") + (synopsis + "Build system library, like Make, but more accurate dependencies.") + (description + "Shake is a Haskell library for writing build systems - designed as a +replacement for @@make@@. To use Shake the user writes a Haskell program that +imports \"Development.Shake\", defines some build rules, and calls the +Development.Shake.@code{shakeArgs} function. However, as build systems get more +complex, Shake is able to take advantage of the excellent abstraction facilities +offered by Haskell and easily support much larger projects. Shake also provides more +accurate dependency tracking, including seamless support for generated files, and +dependencies on system information (e.g. compiler version).") + (license license:bsd-3))) + (define ghc-js-flot-bootstrap-for-9.6 (package (name "ghc-js-flot-bootstrap")