From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4G9nLxQrqmIlxwAAbAwnHQ (envelope-from ) for ; Wed, 15 Jun 2022 20:55:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YD1lLxQrqmLcCwEA9RJhRA (envelope-from ) for ; Wed, 15 Jun 2022 20:55:16 +0200 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 6231A2804D for ; Wed, 15 Jun 2022 20:55:16 +0200 (CEST) Received: from localhost ([::1]:60982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1YAd-0004bA-HN for larch@yhetil.org; Wed, 15 Jun 2022 14:55:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1YAQ-0004ZX-Eq for guix-patches@gnu.org; Wed, 15 Jun 2022 14:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1YAQ-0001dT-5x for guix-patches@gnu.org; Wed, 15 Jun 2022 14:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1YAQ-0006Wy-57 for guix-patches@gnu.org; Wed, 15 Jun 2022 14:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55999] [PATCH 2/2] gnu: packages: Update dub to v1.23.0. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jun 2022 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55999 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55999@debbugs.gnu.org Cc: "\(" Received: via spool by 55999-submit@debbugs.gnu.org id=B55999.165531924225000 (code B ref 55999); Wed, 15 Jun 2022 18:55:02 +0000 Received: (at 55999) by debbugs.gnu.org; 15 Jun 2022 18:54:02 +0000 Received: from localhost ([127.0.0.1]:39808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1Y9S-0006V1-5w for submit@debbugs.gnu.org; Wed, 15 Jun 2022 14:54:02 -0400 Received: from knopi.disroot.org ([178.21.23.139]:46138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1Y9P-0006Uk-Sx for 55999@debbugs.gnu.org; Wed, 15 Jun 2022 14:54:00 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3EB8643FB5; Wed, 15 Jun 2022 20:53:59 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WfEh0o0IXDq6; Wed, 15 Jun 2022 20:53:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1655319237; bh=lIP/8lUML/Rbb75OcgJh7/0q//EvxS5E7KPNPpy3R50=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=amGpCBDldp6yhCBW8NWtIeVhcgzTViT4efkivNGNZGCIqL7Xy4XAY2xwW1ystwhNE HRoTstaeqPu4pnG54MuHjfUZjrKZu5+Iizb2ZVMy1b/dCqwrJAwIE/zhPFc6kRlWF/ 036Npo14xtUUd+QGXpOIUO87N6B0QeGeS13QVUza59cK2E11GAt5D+0mtvw11Jxz+y 8LlOENh000SSAp5X2HQVyxfyzN5+jmSetz/+AHIYGi2RXlKm/PfzK2WPnSWZKti9cL UI+CoJNVYoodOUoh8SpG42Kis9GwFeHzGnYjFC568HXZjSrvy7SqGOXc8SGrerruKX mwCtHWCrhTAkg== Date: Wed, 15 Jun 2022 19:53:50 +0100 Message-Id: <20220615185350.19863-2-paren@disroot.org> In-Reply-To: <20220615185350.19863-1-paren@disroot.org> References: <20220615185350.19863-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655319316; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PrYFM4Wu8W4Ks3Rc8ZNA5PNom8cdBIO76JPFu7G/X+Y=; b=NmdaEjDBd4R5GeGNqezSE4bKpEdAVxZSkYfP2GTWRVIzG9SNSsufmXdmuYZcZdCBeSPryA 0UlPGYjL0Gt330womiNYp+H8dLmAxyKlqxOo8vf6Go3UqhhhbSZxIVu8KhJAgE89QUInIt 3dUVaFL2pe2xNWbpFzTfuxOFX2Ml7il/oKCs+Cb3E8XGiDI5/LA2vccUBf5xavrcWXT8c+ SzOhJo1H43VqoKrBOng+KJplgXGaKFNLgYbg+N7Qbfgff5uQhDuRvEhFeYV7+EXmrlmHqr Rd7FVeWDpEdguUF6qMR+VmjTe/gNQL0weI8NMtKqLRs4oiPVCc/3h1JFhA9L2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655319316; a=rsa-sha256; cv=none; b=LcyW3thUvei/MDKAalw9WFlfp/71F5qkM9lobzL9OXy62iwCw2WeypiTX9mSbyXpTrLBkE tslYpx2g+6LGeEi46q46cbQrBVp2P/utF8BhiW9CqgLDeuustvVLpdyrqeYJyDvLn9uQxs 8WoPUke8A+O3phnEWy0/zT3mXQXPzU75bT1PL5dxROFMFzCojo9EJ39OoA5msVQZ8sRmV+ G/XtX6Jp0XPUqm6JMUKQfec1Nf+tdkeHHz+IDs/G9UbM9pSFpQ9b76wj6uaf3dBjvtb8PW 04ZylTVbvIFXO5c5XDg+uCI8Oevac0+Dcs5FFT129pjciq8tnLTAi4nRfcxLXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=amGpCBDl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=amGpCBDl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6231A2804D X-Spam-Score: -3.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: DD1xq+bVdSHP * gnu/packages/dlang.scm (dub): Update to version 1.23.0. This also fixes Dub's build, which was previously failing because of how ancient it was. --- gnu/packages/dlang.scm | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index e0ded5c3c8..2341f1769e 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -436,7 +436,7 @@ (define (gnu-triplet->clang-arch system) (define-public dub (package (name "dub") - (version "1.7.2") + (version "1.23.0") (source (origin (method git-fetch) @@ -445,26 +445,30 @@ (define-public dub (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "073ibvgm1gphcqs1yjrav9ryp677nh3b194nxmvicwgvdc0sb6w9")))) + (base32 "06a4whsl1m600k096nwif83n7za3vr7pj1xwapncy5fcad1gmady")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; it would have tested itself by installing some packages (vibe etc) - #:phases - (modify-phases %standard-phases - (delete 'configure) ; no configure script - (replace 'build - (lambda _ - (invoke "./build.sh"))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (install-file "bin/dub" bin) - #t)))))) - (inputs - (list curl)) + (list #:tests? #f ; it would have tested itself by installing some packages (vibe etc) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; no configure script + (replace 'build + (lambda* (#:key native-inputs #:allow-other-keys) + (setenv "CC" #$(cc-for-target)) + (setenv "LD" #$(ld-for-target)) + (invoke "./build.d"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "bin/dub" bin))))))) + (inputs (list curl)) (native-inputs - (list ldc)) + (list ldc + d-tools + (module-ref (resolve-interface + '(gnu packages commencement)) + 'ld-gold-wrapper))) (home-page "https://code.dlang.org/getting_started") (synopsis "Package and build manager for D projects") (description -- 2.36.1