From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KMrNMBPcw18TawAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 17:36:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cMC7LBPcw19UGAAAB5/wlQ (envelope-from ) for ; Sun, 29 Nov 2020 17:36:19 +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 88ECA940367 for ; Sun, 29 Nov 2020 17:36:19 +0000 (UTC) Received: from localhost ([::1]:42214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjQcU-0002Hh-GK for larch@yhetil.org; Sun, 29 Nov 2020 12:36:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjQcG-0002Ft-34 for guix-patches@gnu.org; Sun, 29 Nov 2020 12:36:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjQcF-0008EC-IB for guix-patches@gnu.org; Sun, 29 Nov 2020 12:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjQcF-0003mc-FY for guix-patches@gnu.org; Sun, 29 Nov 2020 12:36:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44926] [PATCH v2 04/15] gnu: Add dart-2.0.0-dev.20.0. Resent-From: nixo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Nov 2020 17:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44926 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 44926@debbugs.gnu.org Cc: nixo Received: via spool by 44926-submit@debbugs.gnu.org id=B44926.160667135314457 (code B ref 44926); Sun, 29 Nov 2020 17:36:03 +0000 Received: (at 44926) by debbugs.gnu.org; 29 Nov 2020 17:35:53 +0000 Received: from localhost ([127.0.0.1]:52447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjQc3-0003kl-TK for submit@debbugs.gnu.org; Sun, 29 Nov 2020 12:35:53 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:39286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjQc1-0003kM-PP for 44926@debbugs.gnu.org; Sun, 29 Nov 2020 12:35:50 -0500 Received: by mail-wr1-f48.google.com with SMTP id e7so12038373wrv.6 for <44926@debbugs.gnu.org>; Sun, 29 Nov 2020 09:35:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wioZ+LcdDy4qLuscDN8eim9jH9lYIhmLY4qfdKAnUDk=; b=eUhSKdD1GqpybSrnVnhkWPgf3d4QcWhfURzDUNMv4qP5mW4lpWyBuwCEsFTvk5puVU qWN8mFnb1yiYTQ3wCG+EHl2MWFZyYDGD+4zfqqAuf6jYJuauNJNnnFlWdItepYIHJc3G KC0ckAXAJ0oEc7CV5wmO+S0ddR6pzvXx/Ns4NGuA69MHPEvxi7+4321BBv8rMQpncOcZ OrnVqcG5jmlsa2hsiV6FYbJXaxKfyP2O2zkts9i3ajcfTR060pvQx+OnjTPD+GAgm3bx Mm55y+m+SaisUJYEI1RA8A4033hPg32VFKl+wcDinkJQrXhdAcdMXNygLrCkmuLyG/7w RvLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wioZ+LcdDy4qLuscDN8eim9jH9lYIhmLY4qfdKAnUDk=; b=EKGLObnBcyKUwwCJOuybdROR3ntD6kUEA1SStpuUmvynddiD7HYBGp1Ot6PLYOfVLk oL5CKZH9+wP6IN2qny/Rj9/nhC8TjHU0zwbtir3fgabiMi1uPwTNnZxHJv1c+I71rj5z uqeBQWyKQy3rkEjOWdsVx2YCzPVg68GSeMTaCC++3UUyqqU2nT4fbImP7DAoJVHzSUgX XJR1ASED0oA6IiW9neCIHNMlXcEuQ1qV/Qi2owL8qC8eCjMFchETkb2boMTm0T1dKuMd AqecV6r+NIDarUQ8MWr15O6WKspvMs9ToTNBpRCxz9OjT8dye+zok2cYAkkVg65UgNSG /lHA== X-Gm-Message-State: AOAM530e+xWzhB2bmXf8aWTbL8s4bN74Qf4Z3vpajPZX8rMSHYw7aL1N CfIolD10sChNgfbV1NZ0AA9hCSOfVz0= X-Google-Smtp-Source: ABdhPJzKhFU3CgIoKf0qAAbexQYvSTBAdalN4zvwddXjX2UI9n3N24UEP2TZspm29K9zp6s/kORB2A== X-Received: by 2002:adf:dc4b:: with SMTP id m11mr23373448wrj.328.1606671343946; Sun, 29 Nov 2020 09:35:43 -0800 (PST) Received: from localhost.localdomain (host-79-54-131-134.retail.telecomitalia.it. [79.54.131.134]) by smtp.gmail.com with ESMTPSA id c9sm22613231wrp.73.2020.11.29.09.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2020 09:35:43 -0800 (PST) From: nixo X-Google-Original-From: nixo Date: Sun, 29 Nov 2020 18:34:03 +0100 Message-Id: <20201129173414.8984-4-nicolo@nixo.xyz> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201129173414.8984-1-nicolo@nixo.xyz> References: <20201129173414.8984-1-nicolo@nixo.xyz> 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: 2.82 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=eUhSKdD1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: xX/FGFTeZm5T * gnu/packages/dart.scm (dart-2.0.0-dev.20.0): New variable. --- gnu/packages/dart.scm | 61 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/dart.scm b/gnu/packages/dart.scm index 07e3dcee21..c2463a676c 100644 --- a/gnu/packages/dart.scm +++ b/gnu/packages/dart.scm @@ -426,3 +426,64 @@ @item Supported both on desktop and on mobile @end") (license license:bsd-3))) + +(define-public dart-2.0.0-dev.20.0 + (package + (inherit dart-2.0.0-dev.8.0) + (name "dart") + (version "2.0.0-dev.20.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dart-lang/sdk") + (commit version))) + (file-name (string-append name "-" version)) + (sha256 + (base32 + "1k2zc27r3b7ha5bvlhaqr75xiyf6rg7nwk3r0qrjl7dk9k50iyix")))) + (arguments + (substitute-keyword-arguments (package-arguments dart-2.0.0-dev.8.0) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'configure 'set-dart-path + (lambda* (#:key inputs propagated-inputs #:allow-other-keys) + (substitute* "runtime/observatory/BUILD.gn" + (("\"--sdk=True\" \\]") + (string-append + "\"--sdk=True\", " + "\"--dart-executable\"," + "\"" (assoc-ref inputs "dart") "/bin/dart\"," + "\"--pub-executable\"," + "\"" (assoc-ref inputs "dart") "/bin/pub\" ]"))) + (substitute* "tools/utils.py" + (("os.path.join\\(CheckedInSdkPath\\(\\), 'bin', name)") + (string-append "os.path.join(\"" + (assoc-ref %build-inputs "dart") + "/bin/\", name)"))) + (substitute* "build/prebuilt_dart_sdk.gni" + (("\\$_dart_root/tools/sdks/\\$host_os/dart-sdk/bin/") + (string-append (assoc-ref %build-inputs "dart") "/bin/"))))) + (add-before 'configure 'disable-Werror + (lambda _ + (substitute* "runtime/BUILD.gn" + (("\"-Werror\"") "# -Werror") + (("\"-Wall\"") "# -Wall") + (("\"-Wextra\"") "# -Wextra")) + (substitute* "build/config/compiler/BUILD.gn" + (("\"-Wl,--icf=all\"") "") + (("\"-Wall") "# \"-Wall") + (("\"-Wextra") "# \"-Wextra") + (("\"-Werror") "# \"-Werror")))) + (add-before 'configure 'fix-get-timestamp + (lambda _ + (substitute* "tools/make_version.py" + (("utils.GetGitTimestamp") "\"0\" # ")))) + (add-before 'configure 'fix-zlib-build + (lambda _ + (substitute* "third_party/zlib/BUILD.gn" + (("direct_dependent_configs") "# direct_dependent_configs") + (("\"//base\",") "")))))))) + (native-inputs + (cons `("dart" ,dart-2.0.0-dev.8.0) + (package-native-inputs dart-2.0.0-dev.8.0))))) -- 2.29.2