From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wHpQH/qyAGfyaAAA62LTzQ:P1 (envelope-from ) for ; Sat, 05 Oct 2024 03:31:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wHpQH/qyAGfyaAAA62LTzQ (envelope-from ) for ; Sat, 05 Oct 2024 05:31:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FwJW+Q9Y; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LGxDWw5C; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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-Seal: i=1; s=key1; d=yhetil.org; t=1728099066; a=rsa-sha256; cv=none; b=RGMUtow+wN3I6sNLmtZglYeH1RLjemHsCAGjOw5QfKDSMv4g9mg4xo+qZSAs4ZRzjezGYf fVPOcGhVu0hIl8SDvlmRYdl+AHgJ/8VfT3dvC5PfyRUANQ4hMIpF4l7UgGkTxuz6nd2s3S 8zbech+E5EtOt5Ct4DFhiaW+dPwdI5ALed9FWcnrO12v1GD/A4tIAQ8cnAPCOcugp6ZdJq BHvlbZ849lD6CsfvfWAaytywWVGUNMjkQq+njGZUJ/1nftQHbHJRpgKNrUXfkPFjojluJZ lBXx8/th9kfPEfv9HRtxl6uwkLcV0YEYfvrM8LGBzoBdo+c77MStbVwNom2Pkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FwJW+Q9Y; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LGxDWw5C; dmarc=fail reason="SPF not aligned (relaxed), DKIM 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=1728099066; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=XvCKYQXRFj8X2Gkt370pHomatZFBi2rvfIyIusf+7As=; b=UKo6KuYNQqjCMlvFXDurEcEiu9HeGJyyzQdDlahLVNBTx2Tjx4s+9V4HlRO+O7aWHK3TEP FpU5PKj97AJvjIt0l5OKcfQMsiQck51vRWMI/fky3cHTUqcO31mSLxaDPeTjf4vABqMS7o DVVEOXPNZeYr0X/FCG4VB1xFe4rjIgbhGWCnhVd5hDzhWhZWv0MAsZ3BQB5AFlHPy8q9aM SzLZgmGdA8nWrYipjzz5eoBnWum3aBFK0Ece7Xzcpu1piBllw9/pBaBsGOSPiPo1HXRg6v NtTAF+EJGWWVSIlZgJuk90xChI/8+ZGZKjKMzJmP7TdNfeM4kRqEGV8jG5Ygfg== 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 58D378E5C3 for ; Sat, 05 Oct 2024 05:31:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swvVU-0007vB-JJ; Fri, 04 Oct 2024 23:31:00 -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 1swvVT-0007v1-0n for guix-patches@gnu.org; Fri, 04 Oct 2024 23:30:59 -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 1swvVS-00017S-M1 for guix-patches@gnu.org; Fri, 04 Oct 2024 23:30:58 -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:Date:References:In-Reply-To:From:To:Subject; bh=XvCKYQXRFj8X2Gkt370pHomatZFBi2rvfIyIusf+7As=; b=FwJW+Q9Y/LL+zTMl/oJitI0B0bvKv9bJgZt+AZX6e/RsO90wHqCkVOpqnEd2Yz7s/v7dFJZuqKHnZrx9yaP54K0vWBeqVdT9gDrQyx8WWWp+DZ+Mf1O5WXO2qB4c5FCYygzcq/6Y0BOBXCRsxBvrMJ8DFFtGkVhx1Q9kXd7MMdMtQFnei8O30HNUbqEKXIgYHD4J8Mlas8oYzOP4TaceCr6O2rdir0cE+H90M9NyvGeezj8rBaju9jKRfbe1qYcIsbIEFMB9jvBjsQGB2AN+KFYWYFVUXJAsLkpQg8qioDRCr2TuaO8kxf28hN9c6jsByXs7gcp3bB5UqtcmyZn2wA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swvVW-0000EI-7X; Fri, 04 Oct 2024 23:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v8] gnu: add jpm package Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org, "Suhail Singh" Resent-Date: Sat, 05 Oct 2024 03:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72925 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Omar Bassam Cc: Sharlatan Hellseher , 72925@debbugs.gnu.org, Munyoki Kilyungi , Katherine Cox-Buday , Guillaume Le Vaillant , jgart Received: via spool by 72925-submit@debbugs.gnu.org id=B72925.1728099009357 (code B ref 72925); Sat, 05 Oct 2024 03:31:02 +0000 Received: (at 72925) by debbugs.gnu.org; 5 Oct 2024 03:30:09 +0000 Received: from localhost ([127.0.0.1]:37081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swvUf-00005P-4L for submit@debbugs.gnu.org; Fri, 04 Oct 2024 23:30:09 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:51216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swvUd-0008V6-RE for 72925@debbugs.gnu.org; Fri, 04 Oct 2024 23:30:08 -0400 Received: by mail-qk1-f195.google.com with SMTP id af79cd13be357-7a99fdf2e1aso345978985a.2 for <72925@debbugs.gnu.org>; Fri, 04 Oct 2024 20:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728098938; x=1728703738; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=XvCKYQXRFj8X2Gkt370pHomatZFBi2rvfIyIusf+7As=; b=LGxDWw5Cd9UeGDHNIpXCGE/B5UI9DsB+EKVTGkUHly3RMiUyRBQwtLPKBlK9HVjQ19 D/GZ6UhHluFTEqLXN5RqNdlNQyBksYcUxUzoWGoBgkjem0Y7YKZJzY2O8l9c2y8AFgjX A+vdKIPv8Q8ycT4vdJjGeyxIQ/Z5jYZT58UDXxRoUR9lbVh769FM2oN5C/DZC+CR2R2c mNRG6vs831qqG/dE/EHDrZL1HwHTgABEMHuHkwfjsYd0yI1uCHj0afwCqO+5L0Ieu8Qv ZBrVKYs0mLJafuxq7ktUXZ0tWMiE1PQZTjv+/PnXaBG+hF44xITwTwTaxScS63ohDWbj Gmzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728098938; x=1728703738; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XvCKYQXRFj8X2Gkt370pHomatZFBi2rvfIyIusf+7As=; b=Nmp1v86sCCFGzrvIvDLt+RKxummXY3+KVKmslZXUMS8uS6YSNXUqGHVz1Hx0TK0m+V ErlwRg7+4TfTENISXzwCa7wonSAuiuDcDt0XKQp/jq2Bh/bjNQ/eEroGr0uUVoXhkL87 LjNgH1jUylN5Pcc1sMVQ54Vbv9Bkabe5VUPfRqWc479rG3VSJ649s3fovX1gi1DI1LCh t21ihteHHjRrHu09+lsM9G3kfbxNXWX3gLYUA9geEwbeEFZfoOCzB4WfKVsjvSAH33QL w2ftdRbUqyOyfP//iLNWdZAJ2tMKrDkAvVaeLXl/W2vZPr1sOwO96QHjwKD1HqklFRCY eJOA== X-Gm-Message-State: AOJu0Yw/p3VrvQkXN8uEbMtCPYMN+C2hsO+HvVa5Sy00r/pdVZ5Fa5RT 4/CJGz5l8S819TkfimZpG9rV6u+oPU8/VH7KLP7dkwOozqxNhyJj X-Google-Smtp-Source: AGHT+IGwwB7EV0I0SBLt7WFRRxoz4FrnVzuyRCDvcw48CgQt51AlwEeljPGSWzVPLSfxRYvdn4Xf4w== X-Received: by 2002:a05:620a:4013:b0:7ac:b393:33cb with SMTP id af79cd13be357-7ae6f4b3747mr675017685a.66.1728098937855; Fri, 04 Oct 2024 20:28:57 -0700 (PDT) Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7ae7561e5d6sm42566985a.9.2024.10.04.20.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 20:28:57 -0700 (PDT) From: Suhail Singh In-Reply-To: <8223c6391ac0b6a7d0aba42d32eb037c2deef26d.1728055031.git.omar.bassam88@gmail.com> (Omar Bassam's message of "Fri, 4 Oct 2024 18:57:36 +0300") References: <8223c6391ac0b6a7d0aba42d32eb037c2deef26d.1728055031.git.omar.bassam88@gmail.com> Date: Fri, 04 Oct 2024 23:28:46 -0400 Message-ID: <87frpbkz2p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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: -0.43 X-Spam-Score: -0.43 X-Migadu-Queue-Id: 58D378E5C3 X-Migadu-Scanner: mx12.migadu.com X-TUID: ZmIEX/e7SOCb Omar Bassam writes: > + (url "https://github.com/janet-lang/jpm.git") The URL redirects to . > + (("\"cc\"") > + (string-append "\"" > + (assoc-ref inputs "gcc-toolchain") > + "/bin/gcc" "\"")) Can be simplified to: #+begin_src diff + (("\"cc\"") + (string-append "\"" + #$gcc "/bin/gcc" "\"")) #+end_src > + (("\"c++\"") This regex doesn't match, it should be "\"c\\+\\+\"". > + (string-append "\"" > + (assoc-ref inputs "gcc-toolchain") > + "/bin/g++" "\"")) Can be similarly simplified. As well for others. > + (inputs (list bash-minimal janet)) Since "janet" is in the propagated-inputs, it doesn't need to be specified in inputs. > + (propagated-inputs (list janet > + coreutils "coreutils" is not a necessary dependency and can be removed. > + git > + curl > + nss-certs "curl" is not necessary either. The combination of "git" and "nss-certs" when propagated is sufficient > + ;; Lazily resolve the gcc-toolchain to avoid > + ;; a circular dependency. > + (module-ref (resolve-interface '(gnu packages > + commencement)) > + 'gcc-toolchain))) Nicely done! And this one ends up being essential (since it provides necessary header files etc.). > + (description "JPM is the Janet Project Manager tool. It is for automating > +builds and downloading dependencies of Janet projects.") I took some liberties with the description based on description on . -- Suhail