From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 oHezAncye2e7UAEAqHPOHw:P1 (envelope-from ) for ; Mon, 06 Jan 2025 01:31:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oHezAncye2e7UAEAqHPOHw (envelope-from ) for ; Mon, 06 Jan 2025 02:31:35 +0100 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="gq/KMXxa"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=V6CcceQW; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736127094; 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: 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=cdibrNKha1/ItOQt6Tm3aI33gJc2DMjfkEq8UOR12Ws=; b=SumLJ9UFoHV6tg9IyQJ5OrmERlHr9VubDRUKvbsxTaHv7/9hNswgwVAQXtkZ74Zb0LawIo OHfz+C/aUSbMXCnZKwSVU9tg2Jab8V8Did+WS4K3DNNLpmNuf97sAxG9lx7xDHsfJao/1v oHk2AU6f4wtIODQHC7xLTqBDOaGQCDTWfmYvAQDACGKF4612ZoSsjhivsws7LJhBrJ3xtn PU2yROS/AVQVBPBLtKVqjpaC3kjljYu65KQiouRY3AwP6Vr4YedXILb+gMzHBbOBjufOh1 LEEwWF4oL+SwCWP037xnAJ/BjD6r2rmI77DX7NSJRYZ8LIcM8MXWZtGFXsbQOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="gq/KMXxa"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=V6CcceQW; 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), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736127094; a=rsa-sha256; cv=none; b=kbFa4bOP5tO1TooOmv4zWgn0b9TlSNqJOv2gM7q+VmIfORhA0oYqVwbp113QyeiBWcOwHD eFG+0SnaJjyZR/QrsBZoxiw5KeUigGSd1z3UVmathD+QC5Dg9JsDlLmm2E5q5Iaap3jWjm XzZZooFKJurLZVHaGzzgzwW9c5z2Ar0sJ9zHOw6sg8JZAXAnCFFDZQ4ppYCe1Gk/vkVKvH hsDMPQMEHldBY2Gg/SwCENyEYxrvJyh7WiS7CVbLQlW/OEWFErwP9dIeQKxWsi4jYppU94 wP+W6cqPKuheIyJM9+av2jk/inNUAqFjdtsy8zQJY2dHdrgkaM7zHvIzCRO6wQ== 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 96068281E3 for ; Mon, 06 Jan 2025 02:31:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUbxU-0000OX-Rf; Sun, 05 Jan 2025 20:31:08 -0500 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 1tUbxP-0000No-Vi for guix-patches@gnu.org; Sun, 05 Jan 2025 20:31:04 -0500 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 1tUbxP-0001rL-L1 for guix-patches@gnu.org; Sun, 05 Jan 2025 20:31:03 -0500 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:In-Reply-To:From:To:References:Subject; bh=cdibrNKha1/ItOQt6Tm3aI33gJc2DMjfkEq8UOR12Ws=; b=gq/KMXxaiKFokBbweTtK8SpZdLGq2AD2UCEGE4kNd0/qOw3Q4XeLVu1kpPLasf3I+VcfR1DXyQb+9uFTXqr2T484AKIJEfJcAFlqZ5Nbc34bhw8Q+rK/CIEpL9R55nHV/O6q20585maMGNnTgO06mAKrlCCnSWKB+27k+UgFH9uEaVxEMgkBydLwVeOrqpBzG5Sv3eDrT8RKnAtgFQ52d12Z9o9xBPOozTXoSB9G8gVouBV3rAGvDVhX3XdKrg0P3Ihsr0Ig0gfYRYmmoEY5eZjRjGpIjyaWFCLV/ms6NPTE/PoSokZYBcUMf4c58DZ39buisOSvqYewiJPiour1Vg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUbxN-00016G-SB; Sun, 05 Jan 2025 20:31:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75394] [PATCH v14 1/2] gnu: Add jpm package. References: Resent-From: "Suhail Singh" Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 06 Jan 2025 01:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75394 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75394@debbugs.gnu.org Cc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 75394-submit@debbugs.gnu.org id=B75394.17361270144151 (code B ref 75394); Mon, 06 Jan 2025 01:31:01 +0000 Received: (at 75394) by debbugs.gnu.org; 6 Jan 2025 01:30:14 +0000 Received: from localhost ([127.0.0.1]:36051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUbwb-00014s-Um for submit@debbugs.gnu.org; Sun, 05 Jan 2025 20:30:14 -0500 Received: from mail-qv1-xf41.google.com ([2607:f8b0:4864:20::f41]:52617) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUbwa-000101-2g for 75394@debbugs.gnu.org; Sun, 05 Jan 2025 20:30:13 -0500 Received: by mail-qv1-xf41.google.com with SMTP id 6a1803df08f44-6dd16e1cfa1so120712236d6.1 for <75394@debbugs.gnu.org>; Sun, 05 Jan 2025 17:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736127006; x=1736731806; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=cdibrNKha1/ItOQt6Tm3aI33gJc2DMjfkEq8UOR12Ws=; b=V6CcceQWoHjmBdOjS7wq684cOXN2K3mykgMxZrRfJlNBwtnMiz0lQ1h0c0DwOnhCbH BI/WmNomxnmmkCK0ed2Z7yjDm/ByAa0KZho36owOEct6KuFPtrw0GJ7XnuQRF0DF4ZtA VuGN3orLIGuJAFh70oKkbjvDzMpM3xoF6NIkdXRWvwnmWmZqaZB+X6vCulUkecZ/l1ee 0c0GvyZ9ZPgC7ATTGTfVwphcGV7U9mfXWEiabhcAHxAJIqPn1urlM5WRxOpaXGjc1OOu erWunUYD5ZKTG9eLvQtCBHd+ebOJ8n4QzvhUbB5Pwla10VOXq+YIznKFYEMlwrrnWwwb ArBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736127006; x=1736731806; h=content-transfer-encoding:mime-version:message-id:date:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cdibrNKha1/ItOQt6Tm3aI33gJc2DMjfkEq8UOR12Ws=; b=p7qYU9ObMs5JYV5SBp8/gu1a49vgfTNfM33aG4HnKWbmcQFY2oxbxDzgnJy9aMpMIK /EtY60J0BDIqLI2F2rOHX1BpZQqwf6pYW12ySTnrxTxbjw1JRLpDcaOSDAGXB6zxZAb1 obXPUcgEdhyWxBfBiFUjEyyWuUKcEJYm1IB/xN3EpeQgsoLKMc1vyV4I9JQfUzN09QxP nPP140/sFdWsZqwuSHZAejzAFBSkkIFkaZ4u30HSjy+KuTJA6lnGu802wf9B1xGEYXE2 H3DhMMNoBntsB/P/d/YVTC7nc7hm/B4hNdIVYox1+naQJtm//76TNVrfuzlLGYAc6Dfy s+eA== X-Gm-Message-State: AOJu0YwUtV0p0KtZ8BRujLxXZI47c1TwPScCacDnDXrqOEXJjJjobXg3 Qd/MvQGVqL8Fy3rmcxjTp8cjvuStOCjikpCTjPnP6WERgF3NBmHVXKuOZzN8 X-Gm-Gg: ASbGncvAz7LeQlx9b54jI1Cec3rikadSbuOBz2Skiikiv+46ySEKbhDdVOr7jjTXurU O/tTuYGLLblP1uYbNkgmKvfzIypEpI5Of6DHBzZ6wlJpmnAIqlkGs76VD9Cfb0fbRhzh3D+1nam AUDpH7unXsL4m43kzlosWn2LTunggKfGSrb8ugE3V1GLeDmFQDDKWT2A5VKp6eRvis82glqO/Db VbqRc4aF6T1F2siiUT9S444lek60UyvuGLfdzy3dH2/qe3KbALM3TCad1MwZmGxqZD52OBYi3BU jN/KYZ9z8SaQL+xNVw== X-Google-Smtp-Source: AGHT+IHgjj+RX43CoaYCniRWuZAgSS/pFbf9dqF5yi4zFbXKLM3dK8hrhk0UjtKzDf5vH4cRl2zrrQ== X-Received: by 2002:ad4:5d61:0:b0:6d8:accb:5a3d with SMTP id 6a1803df08f44-6dd23397b68mr989086956d6.34.1736127003990; Sun, 05 Jan 2025 17:30:03 -0800 (PST) Received: from gnus (mtrlpq0776w-70-26-179-129.dsl.bell.ca. [70.26.179.129]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6dd18110450sm165938066d6.44.2025.01.05.17.30.02 for <75394@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 17:30:03 -0800 (PST) From: "Suhail Singh" In-Reply-To: Date: Mon, 7 Oct 2024 23:31:57 -0400 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 3.85 X-Spam-Score: 3.85 X-Migadu-Queue-Id: 96068281E3 X-TUID: H5nbCM056RHY * gnu/packages/lisp.scm (jpm): New variable. Change-Id: I9f5ab89a38622689b5d3545abe5d87906dc61f3b Signed-off-by: Suhail --- gnu/packages/lisp.scm | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 9cc630eec2..f99ad68828 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -29,6 +29,7 @@ ;;; Copyright =C2=A9 2024 Andreas Enge ;;; Copyright =C2=A9 2024 bigbug ;;; Copyright =C2=A9 2024 Ashish SHUKLA +;;; Copyright =C2=A9 2024 Omar Bassam ;;; Copyright =C2=A9 2024 David Pflug ;;; Copyright =C2=A9 2024 Janneke Nieuwenhuizen ;;; @@ -64,6 +65,7 @@ (define-module (gnu packages lisp) #:use-module (guix build-system gnu) #:use-module (guix build-system haskell) #:use-module (guix build-system trivial) + #:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE= )) #:use-module (gnu packages admin) #:use-module (gnu packages algebra) #:use-module (gnu packages autotools) @@ -919,6 +921,77 @@ (define-public janet assembler, PEG) is less than 1MB.") (license license:expat))) =20 +(define-public jpm + (package + (name "jpm") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janet-lang/jpm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05rdxigmiy7vf93s16a8n2029lq33073jccz1rjl4iisxj6piw4l")))) + (build-system copy-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "configs/linux_config.janet" + (("/usr/local") + #$output) + (("\"cc\"") + (string-append "\"" + (search-input-file inputs "/bin/g= cc") + "\"")) + (("\"c\\+\\+\"") + (string-append "\"" + (search-input-file inputs "/bin/g= ++") + "\"")) + (("\"git\"") + (string-append "\"" + (search-input-file inputs "/bin/g= it") + "\"")) + (("\"curl\"") + (string-append "\"" + (search-input-file inputs "/bin/c= url") + "\""))) + (substitute* "jpm/shutil.janet" + (("cp") + (string-append (search-input-file inputs "/bin/c= p")))) + (setenv "PREFIX" + #$output))) + (replace 'install + (lambda _ + (for-each (lambda (dir) + (mkdir-p (string-append #$output "/" di= r))) + '("lib/janet/jpm" "share/man/man1")) + (invoke "janet" "bootstrap.janet" + "configs/linux_config.janet") + (wrap-program (string-append #$output "/bin/jpm") + `("JANET_HEADERPATH" ":" =3D + (,(string-append #$janet "/include/janet"))) + `("JANET_LIBPATH" ":" =3D + (,(string-append #$janet "/lib"))))))))) + (inputs (list bash-minimal + coreutils-minimal + curl + gcc + git-minimal/pinned)) + (propagated-inputs (list janet)) + (native-search-paths + (list $SSL_CERT_DIR $SSL_CERT_FILE)) + (home-page "https://janet-lang.org/") + (synopsis "Janet Project Manager for the Janet programming language") + (description + "@code{jpm} is the Janet Project Manager tool. It is a build +tool and its main uses are installing dependencies, compiling C/C++ to nat= ive +libraries, and other management tasks for Janet projects.") + (license license:expat))) + (define-public lisp-repl-core-dumper (package (name "lisp-repl-core-dumper")