From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gFTAENaRCGUIhgAA9RJhRA:P1 (envelope-from ) for ; Mon, 18 Sep 2023 20:07:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gFTAENaRCGUIhgAA9RJhRA (envelope-from ) for ; Mon, 18 Sep 2023 20:07: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 E347958E0B for ; Mon, 18 Sep 2023 20:07:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GzICWzFL; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695060438; a=rsa-sha256; cv=none; b=O6F0zfVbvbE6oIuVQeOfZoAbTEHyY8jhXy2kAgD2q0QMnCc9K3mOwfy/7iyIKVmqQ8U+Vr yjW6N54cjA1VICrnSEGtoVtMJThli5xrqHBr1b2tO1hIg3I4oVQ6QtU8/kE0bxaNpNyo3Y OtUmTwlSRciphiqEEPbiEfsAMAFD7mBg1+2A0C/KB02Wmepy3RqbFuNjxP1AuKXmfU30cY EWmFEHZodrXfenuBhCntvDH4MAgyBBE8594YjeyVOwdxYkIvnTMeGjIvwXeh5srOuSV3k5 k0COIK0GyBLx3EWUW0oHJ4h3VLZ0+h3dAf0q8LEzU/O+GI3K9ZnwhRf5Qpguhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695060438; h=from:from:sender:sender: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=OaQN5db89UTvsdYmpAsDFBxhyD2sfWmK9wAwHYRwHzo=; b=cgmOCAlhdCz+DqAZjDpe3L03zHH7QlWPEIpeBsdUnWpgdpvf8KDa88xRxxaohQ7aLwtAKG 2H623/XkAd08wGGpinJQ9XpV1Gnp7xb6M/I6ofDgGnwp/b1xWEgL6bDQxgXM/9JJJ219dK rTqhhl1mj9DOpYT5R/youDrn+8WpOjlm/EqH2vwxzPByH5oJugc0PXNgYBhzhgBnyrxR7R c71rCPivzVxTElso/uUecDjn3t4MaNCkOU2muAVEf4UrNWCVcjTK6H0GjVlxvQrAllu2W8 go1iiTg1w1L018Qqaf4bZfs/5FvI/BpMCLSWOvCuokffcz+IBqMb8t3fE50lcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=GzICWzFL; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiId8-0004YP-2d; Mon, 18 Sep 2023 14:05:54 -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 1qiIcC-0003Ag-Q5 for guix-patches@gnu.org; Mon, 18 Sep 2023 14:04:57 -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 1qiIcC-0003YZ-IK for guix-patches@gnu.org; Mon, 18 Sep 2023 14:04:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiIcK-0002Nt-S0 for guix-patches@gnu.org; Mon, 18 Sep 2023 14:05:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62202] [PATCH v2 09/23] DRAFT import: juliahub: Filter out julia stdlibs. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Sep 2023 18:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 62202@debbugs.gnu.org Cc: zimon.toutoune@gmail.com X-Debbugs-Original-Cc: Nicolas Graves via Guix-patches via , Simon Tournier Received: via spool by 62202-submit@debbugs.gnu.org id=B62202.16950602538835 (code B ref 62202); Mon, 18 Sep 2023 18:05:04 +0000 Received: (at 62202) by debbugs.gnu.org; 18 Sep 2023 18:04:13 +0000 Received: from localhost ([127.0.0.1]:54379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIbU-0002IK-Kc for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:04:13 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:41001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIbG-0002Ei-2v for 62202@debbugs.gnu.org; Mon, 18 Sep 2023 14:04:01 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3200b181b67so96155f8f.0 for <62202@debbugs.gnu.org>; Mon, 18 Sep 2023 11:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695060224; x=1695665024; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OaQN5db89UTvsdYmpAsDFBxhyD2sfWmK9wAwHYRwHzo=; b=GzICWzFLx9PgzRpDfKbj2Dq28uY8m+pkGhlt+p8h667HnYMAoCvtnW4Ahs3R+IVz4y 9Ac0Fj/0xYPTSJb7wB9TQzGe3nfqfWffIu95JJa9ouK+MxheCQudVvZS4LUoX+jiLIXa NiQfmPbJ1o59KoR7dXpxlF6l4wjKbVqPd9bnJirD2VEC6E6sYwX8W3AJGiJW1f0QfS7i 6//qrs6YUze9tnXGlVCEU0S4dwglp9CloELhaVdratZDT9Ug6Kbr/N/14iMJQagdZ5Op kE6wN0mU53GxCb+oanOcWbS/8VYZgdFRcKV1rvdjpRcAHuILyiO/rutgg3ZpxWHTjA38 OTAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695060224; x=1695665024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OaQN5db89UTvsdYmpAsDFBxhyD2sfWmK9wAwHYRwHzo=; b=mRkXQOY423AGZ1okHBMTV9aoywA7qM7bRzV+H0rg2i26Zs307R6+rLsoe3pCgD7lN9 u9YXnRp/jEn5RmPz3+uTTykKMljULTXDzvMWyvxcJX29Cq1bRRWNd1wsIRQklda/2K6O EugmZcBRLrWIpN7dZXfzH/t82092/zGriDSv7+WBLnQtPvG3aapymueius8/wJVfSQnv /MCmRL1f/TE+LTSCnamRUsVklM++Q6jpoHswy9cjL8BA0zGiezpnGZ1W2foVLLTxliQ9 V9k/WdJBv7RzMcz9SS8TQS7Gw3eB2dDVeZy/m06bXUN7lmsJW/okyy0BU52+L6+YUdbE 2ajw== X-Gm-Message-State: AOJu0Yyc3cCV6EuuTMxYXJYpZi2U1Ru0BtXJQQ04R9LEExjm5u43xY74 ZduTHdCJ6L5H61J+lVMLLVhwvr455qY= X-Google-Smtp-Source: AGHT+IFoD4xvGhf9ebg6bcBiFQKTjEepHVoOVNrDiB/qnYg8QoTX8GybyanzjGfgABzALvQDv03DXQ== X-Received: by 2002:a5d:4451:0:b0:317:3a23:4855 with SMTP id x17-20020a5d4451000000b003173a234855mr7574455wrr.2.1695060223873; Mon, 18 Sep 2023 11:03:43 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id z2-20020adfd0c2000000b0030ada01ca78sm2210465wrh.10.2023.09.18.11.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 11:03:43 -0700 (PDT) From: Simon Tournier Date: Mon, 18 Sep 2023 20:03:16 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.60 X-Spam-Score: -4.60 X-Migadu-Queue-Id: E347958E0B X-Migadu-Scanner: mx2.migadu.com X-TUID: hl3yIUGPbIF1 From: Nicolas Graves via Guix-patches via Signed-off-by: Simon Tournier --- guix/import/juliahub.scm | 49 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/guix/import/juliahub.scm b/guix/import/juliahub.scm index c38c830caaa0..af08f3d698d0 100644 --- a/guix/import/juliahub.scm +++ b/guix/import/juliahub.scm @@ -38,6 +38,47 @@ (define-module (guix import juliahub) %juliahub-updater juliahub-recursive-import)) +;; To update, see file sysimg.jl +(define %julia-stdlibs + (list "julia" + "ArgTools" + "Artifacts" + "Base64" + "CRC32c" + "FileWatching" + "Libdl" + "Logging" + "Mmap" + "NetworkOptions" + "SHA" + "Serialization" + "Sockets" + "Unicode" + "DelimitedFiles" + "LinearAlgebra" + "Markdown" + "Printf" + "Random" + "Tar" + "Dates" + "Distributed" + "Future" + "InteractiveUtils" + "LibGit2" + "Profile" + "SparseArrays" + "UUIDs" + "REPL" + "SharedArrays" + "Statistics" + "SuiteSparse" + "TOML" + "Test" + "LibCURL" + "Downloads" + "Pkg" + "LazyArtifacts")) + (define (juliahub-uri name) (let* ((url (string-append "https://docs.juliahub.com/" name "/")) (port (http-fetch url #:text? #t)) @@ -64,7 +105,9 @@ (define (json->juliahub-direct-dependencies vector) (filter-map (lambda (el) (let ((dep (json->juliahub-dependency el))) - (if (juliahub-dependency-direct? dep) + (if (and (juliahub-dependency-direct? dep) + (not (member (juliahub-dependency-name dep) + %julia-stdlibs))) dep #f))) (vector->list vector)))) @@ -74,7 +117,9 @@ (define (json->juliahub-indirect-dependencies vector) (filter-map (lambda (el) (let ((dep (json->juliahub-dependency el))) - (if (not (juliahub-dependency-direct? dep)) + (if (and (not (juliahub-dependency-direct? dep)) + (not (member (juliahub-dependency-name dep) + %julia-stdlibs))) dep #f))) (vector->list vector)))) -- 2.38.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mP9lAiuSCGUIRwAA9RJhRA:P1 (envelope-from ) for ; Mon, 18 Sep 2023 20:08:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mP9lAiuSCGUIRwAA9RJhRA (envelope-from ) for ; Mon, 18 Sep 2023 20:08:43 +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 C5D1152C7C for ; Mon, 18 Sep 2023 20:08:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ArAef6HB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695060522; h=from:from:sender:sender: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=OaQN5db89UTvsdYmpAsDFBxhyD2sfWmK9wAwHYRwHzo=; b=KBKVjEvo1bNDwTsN8mZwWANRpp6jmeU0bCe9VJsGXV9LCVE1VE8ubHui8gpJFmcC96jnxW zInnvQzP1yzuwDVNOdlEaWASZA8OWwf32aQFJT0iLjkIEcdRf3ozgutEU1u/GHtEZ6wVQV cOWQM6eF87iOHto0Aaz7I2tqc5pWkevjW2orS5PwHS9wihnWordnEJ999KUToP0TWqdGQt aln5ChowDP0Wd5A+Y655NVX4FSlI0o0Ftinq+AvtPGTUkZhiP75QEwros6Qagqmn49zDo7 BJROTSGpH7ln6AGqqC+eGF4io84PiP/peOyLglX/45Tx1IzPdesFQ+OXGd2rQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695060522; a=rsa-sha256; cv=none; b=jbej7vXQtnWyn4rtoBuJjpCpFlGxsoSZnxGm4l6GoSRlUy1d14BljifSX0jzM2EA7YuZU/ b7PsMmZkgoDK9rk33WR4cDPmV86SaXr38tCiXs/CRsri7Mgn6dKOXkxn7bH6P3irU9FgTq 28nif9FpGPj4DTjLTNiHQySBLoLFlcvPoalodZlFJT6ehnRERkLaf+4grdwsNvi92+brht 9Hhw9oKZjLg6NyhA+fdd+8zk2I79XSQ0MFBGqdgx3EKdNDmZs/dpFBu913XScAUFJsatlb +vvosfPNROG1WwGVium7L4tCAkgRMY6duBG9vckiM4VMf/PFPs/WRsWNmY271Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ArAef6HB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiIe9-0005z9-W2; Mon, 18 Sep 2023 14:06:58 -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 1qiIdH-00057y-GW for guix-patches@gnu.org; Mon, 18 Sep 2023 14:06:06 -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 1qiIdH-000458-73 for guix-patches@gnu.org; Mon, 18 Sep 2023 14:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiIdP-0002W2-HG for guix-patches@gnu.org; Mon, 18 Sep 2023 14:06:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66087] [PATCH v2 09/23] DRAFT import: juliahub: Filter out julia stdlibs. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Sep 2023 18:06:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66087 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62202@debbugs.gnu.org Cc: 66087@debbugs.gnu.org, zimon.toutoune@gmail.com X-Debbugs-Original-Cc: Nicolas Graves via Guix-patches via , Simon Tournier Received: via spool by submit@debbugs.gnu.org id=B.16950603629459 (code B ref -1); Mon, 18 Sep 2023 18:06:11 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2023 18:06:02 +0000 Received: from localhost ([127.0.0.1]:54477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIdF-0002SJ-4y for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:06:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiIbc-0002J6-SV for submit@debbugs.gnu.org; Mon, 18 Sep 2023 14:04:21 -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 1qiIbA-0002Ol-5A for guix-patches@gnu.org; Mon, 18 Sep 2023 14:03:58 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiIb3-0003PL-Pg for guix-patches@gnu.org; Mon, 18 Sep 2023 14:03:47 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40506bfca64so5345585e9.0 for ; Mon, 18 Sep 2023 11:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695060224; x=1695665024; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OaQN5db89UTvsdYmpAsDFBxhyD2sfWmK9wAwHYRwHzo=; b=ArAef6HBWUomEP3VhMk4omYiqpe3yMjDZet3PbENNMKWSWIPeoAd+bRihcRyNB7Rb0 Cm8VvSKniKJnG8NRCcDCerBtpWGfCdSiGNddyea04zqveHAvF0OsodB7RPyHwhfGRkvw y6X0tCZTQm/dbd1gVrPx32XrTXTiUJL2gaIJnmkYg/PSxNP7D4KwEo7J+EL1CRlL3Str YB5NXsM3d7y2c6Sw82sFqt15yER2eVvTxNiR/ip1rQcLXVAy4TR48IsQshNVDiiCwrRC v1DLguQ2JWUIDzqZSeo/yLfSvO/jEYCT0/YzBA4PCWe2PPXlKTnsNfeD4Cq4gvGbE4KT 0TFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695060224; x=1695665024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OaQN5db89UTvsdYmpAsDFBxhyD2sfWmK9wAwHYRwHzo=; b=P3DuovDqqPVOJalNILYo6DUyjIXqK6zjqQRrtMMe9RQOhOg3b2HUQ9mvNW9khEtTPG Ww6ZXuM366Zu7GCDxQ9YK05P6NbWr3mUHPIeIIQPPG3Zmfk9eDFq887chnoykF/fJVNm fJE0kwMqke8uSJHLSZEY36kklHn37YQwjYe66oJmhhlMLjXqagqqcKUyLS9eYGItSdvo Bw4/7/mUT/H+EI34FdhdQuP1Fx1d65jszhk1cDlcD+p1qH55Kz6Fw92j3rOZvcIXgQ7C pgIbmh8DSHewUaSQ99sFsmt/T63j+ykltl5jecbV5ONUZ8I3hp2DnPGIwTxLS3L9tN42 ATYg== X-Gm-Message-State: AOJu0Yzl/fAQjLvFPEM68diD35K0wxJ++kRzcJSzYYYs3WJfhTI1Ov7c DwYLeRJaeRP4s561Ng8sEXI= X-Google-Smtp-Source: AGHT+IFoD4xvGhf9ebg6bcBiFQKTjEepHVoOVNrDiB/qnYg8QoTX8GybyanzjGfgABzALvQDv03DXQ== X-Received: by 2002:a5d:4451:0:b0:317:3a23:4855 with SMTP id x17-20020a5d4451000000b003173a234855mr7574455wrr.2.1695060223873; Mon, 18 Sep 2023 11:03:43 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id z2-20020adfd0c2000000b0030ada01ca78sm2210465wrh.10.2023.09.18.11.03.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 11:03:43 -0700 (PDT) From: Simon Tournier Date: Mon, 18 Sep 2023 20:03:16 +0200 Message-ID: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 6.25 X-Spam-Score: 6.25 X-Migadu-Queue-Id: C5D1152C7C X-Migadu-Scanner: mx0.migadu.com X-TUID: DTfigbE2HqQP Message-ID: <20230918180316.cQaFLYyQ65tV_VUL1dkutumkw5Mi7Rof6JjqrCavKVE@z> From: Nicolas Graves via Guix-patches via Signed-off-by: Simon Tournier --- guix/import/juliahub.scm | 49 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/guix/import/juliahub.scm b/guix/import/juliahub.scm index c38c830caaa0..af08f3d698d0 100644 --- a/guix/import/juliahub.scm +++ b/guix/import/juliahub.scm @@ -38,6 +38,47 @@ (define-module (guix import juliahub) %juliahub-updater juliahub-recursive-import)) +;; To update, see file sysimg.jl +(define %julia-stdlibs + (list "julia" + "ArgTools" + "Artifacts" + "Base64" + "CRC32c" + "FileWatching" + "Libdl" + "Logging" + "Mmap" + "NetworkOptions" + "SHA" + "Serialization" + "Sockets" + "Unicode" + "DelimitedFiles" + "LinearAlgebra" + "Markdown" + "Printf" + "Random" + "Tar" + "Dates" + "Distributed" + "Future" + "InteractiveUtils" + "LibGit2" + "Profile" + "SparseArrays" + "UUIDs" + "REPL" + "SharedArrays" + "Statistics" + "SuiteSparse" + "TOML" + "Test" + "LibCURL" + "Downloads" + "Pkg" + "LazyArtifacts")) + (define (juliahub-uri name) (let* ((url (string-append "https://docs.juliahub.com/" name "/")) (port (http-fetch url #:text? #t)) @@ -64,7 +105,9 @@ (define (json->juliahub-direct-dependencies vector) (filter-map (lambda (el) (let ((dep (json->juliahub-dependency el))) - (if (juliahub-dependency-direct? dep) + (if (and (juliahub-dependency-direct? dep) + (not (member (juliahub-dependency-name dep) + %julia-stdlibs))) dep #f))) (vector->list vector)))) @@ -74,7 +117,9 @@ (define (json->juliahub-indirect-dependencies vector) (filter-map (lambda (el) (let ((dep (json->juliahub-dependency el))) - (if (not (juliahub-dependency-direct? dep)) + (if (and (not (juliahub-dependency-direct? dep)) + (not (member (juliahub-dependency-name dep) + %julia-stdlibs))) dep #f))) (vector->list vector)))) -- 2.38.1