From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id II8hETr7tWIkQQAAbAwnHQ (envelope-from ) for ; Fri, 24 Jun 2022 19:58:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SHAsETr7tWIkTQEA9RJhRA (envelope-from ) for ; Fri, 24 Jun 2022 19:58:18 +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 F258E31044 for ; Fri, 24 Jun 2022 19:58:17 +0200 (CEST) Received: from localhost ([::1]:58694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4nZQ-0005Hu-T5 for larch@yhetil.org; Fri, 24 Jun 2022 13:58:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4nYE-0005Ed-E7 for guix-patches@gnu.org; Fri, 24 Jun 2022 13:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4nYE-0005fQ-46 for guix-patches@gnu.org; Fri, 24 Jun 2022 13:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4nYE-0005ML-3Y for guix-patches@gnu.org; Fri, 24 Jun 2022 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55999] [PATCH v3 2/3] gnu: packages: Update dub to v1.23.0. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jun 2022 17:57: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.165609340520561 (code B ref 55999); Fri, 24 Jun 2022 17:57:02 +0000 Received: (at 55999) by debbugs.gnu.org; 24 Jun 2022 17:56:45 +0000 Received: from localhost ([127.0.0.1]:43459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4nXw-0005LZ-TR for submit@debbugs.gnu.org; Fri, 24 Jun 2022 13:56:45 -0400 Received: from knopi.disroot.org ([178.21.23.139]:54518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4nXv-0005LL-FQ for 55999@debbugs.gnu.org; Fri, 24 Jun 2022 13:56:44 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B4FD945994; Fri, 24 Jun 2022 19:56:42 +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 G0sz8VV8r3vi; Fri, 24 Jun 2022 19:56:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656093401; bh=CkEtsu0KTMR+DgwgfL2h/6hCGm0pTU9zPfmZV1NmWl8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iTFn3Hv9ZrEDk5yQpoZd8dWHJeo91OMNGUkvkPKUcxpH+3F4objynT+Vz3tkBOD2u WiKhsFUlrYzq0Qm6yADD4cK9CBfpURJDFUH+PCXLtzBaDR+ccwJA3GBCNPIblLEhYy gBXA3XtSXkyic+QTo4Z3wwSfasyEEyK7Fc54rrUltr90BT3VP34AwvddTlcUxy2kSr pbt8DiAG6Zr5R0xT0p/OT/Q017YcojpMZVmzdokGFV6ipSvJJPbG+Svp3m7wU9BRIk zV3VcJV011cLr8kk/46cPHMXj21TC2tREqJ1xYcS0g9FAJb7lAtYU7tICeBSCxfGp/ H/5oUDOK/BiFA== Date: Fri, 24 Jun 2022 18:56:27 +0100 Message-Id: <20220624175628.7877-2-paren@disroot.org> In-Reply-To: <20220624175628.7877-1-paren@disroot.org> References: <20220624175628.7877-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=1656093498; 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=wvUQlp+LKx1uPxUgls15RoMcS7bI5jLzebOXT+9aL5c=; b=u0yqJ/NxVi2vuGhl/mbXVvf6keeQn9gQtbNhWvohzITj3uCSFaj5k2LPqxh6NpsjdNWpXo fQQ4ZXIJi/dm5ILrazRyMG0BC6Lhx44uhnEjayEfK0aue4gUiVZOCTVhFOwFMIDySne0F2 P2dGoBvTbqA49Hc8N7wyE0iP9V3L4AJzwejA7hh2rdx+n6jeKu4SE79rTdG1PQtt49P9V7 WFlUEmZ4sAHhwjqVtXxTFTN+Ec2lgcgJaJFH0t1EYkMf/kpIhDoKC0F/2Ga9rIEas8LWm7 GQreP2HyTZwicTXNR5nFJajjU8QWMdqDjRuKmrkeOzkusi5MtLzRhoP6guO81w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656093498; a=rsa-sha256; cv=none; b=LIKPNoWQu7tW0jlYx87HpUjzrQgVdqntNi5j9UvoTORQTyx2+xg1c1WWIRsQFr/hpuBJDk jSyE0pOzlNpHT7mXjrIlezsvXKAo/A9JszMGpJ/Oud//M9alQ86nXNLE0eTkXWN4hu84I2 5Agwf/nO2U9OnBDzJyo9Xt6Nzdm+yxffP2uJe29NpQ/+97ltvV+0G/+W6kgcn19tnNS6cK AYy3d+3a3tqWpmO/RkV7RsjH8XyPbX4b7II3mwZvfM9hJPvJLHiIMPwZxB2q1TFEdYxTMg CddSVB9HntHebIjVf1JTBsXYvAyWPTncwtozWtTcGBwT18f4vS3CpaKoCKdd5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=iTFn3Hv9; 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: -2.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=iTFn3Hv9; 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: F258E31044 X-Spam-Score: -2.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: rorVNPtACMNv * 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 | 52 +++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 7010994d2c..34486f212c 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm @@ -437,35 +437,39 @@ (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) - (uri (git-reference - (url "https://github.com/dlang/dub") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "073ibvgm1gphcqs1yjrav9ryp677nh3b194nxmvicwgvdc0sb6w9")))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dlang/dub") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (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 ; Tests try to install various packages. + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (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