From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yDpQKk8Ie2fJcAEAqHPOHw:P1 (envelope-from ) for ; Sun, 05 Jan 2025 22:31:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yDpQKk8Ie2fJcAEAqHPOHw (envelope-from ) for ; Sun, 05 Jan 2025 23:31:43 +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=pxbCGWtN; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=IrmdeTv0; 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=1736116303; 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=nDg1UzIWn1epJDW3dYUP1tyJLAMJf78K9PXBND+wMOt9ObloN66UkxMjq3zQk8q61q8gZH 7dOuIXGBqq8jSGoFP8pGqsEbkMxobZXNLdaJFrPG3h6t7jME0KxXbPMM4uf1bGDQxGDyNq p/HGaqv5zwXUH2fl23zsl2MfIpLYi+xFuUCBhRfwfqjwKFCvGq7TxygwD8kgoAB4YYsF7y xv2IpHu7aP9AB7pho77+hjLWEMdsodMPZPF/qqzGtk6LVpYizJ7i7gOYIfd1D8os+4C/oy t23IiVAD2m+9wCPtvsbUhsG8c2Er3LehBYttVD4sMiDjDC2nrgjDOK0ywFEPyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=pxbCGWtN; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=IrmdeTv0; 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=1736116303; a=rsa-sha256; cv=none; b=G2eCPzGtjA1F57G4TcItDfr+SwGL3hyCndGiN3oDBUsbxMwx1iLMVx+Zr+LZZj/Ck/uUVc 0CEn10hm1zuicD8M/yNHDSRESEYx/Iy/tAfrs2ESctMxJhIUH2nUOXVut8GW00NCokbS5M bZBmshUrpAH4KaRRRTjtQgQ88qcs/r1DsITxP16838RClMcTm7bY/f/7LKx8o5UEiSL+ex 553Cywnb7vIhgrasYGzO7Za36UBpZ3XX6ulIeejk2kf59VHmIQDTOCiA+eSvT3NAtzqION FbdCH4/bbS6Iy6/J8j/cKryBgYNAH2v1ldXDiqKS4lT4YIWfoKljUoGVsJmy9g== 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 35B3D833B8 for ; Sun, 05 Jan 2025 23:31:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUZ9K-0002wK-Qu; Sun, 05 Jan 2025 17:31:10 -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 1tUZ9J-0002wA-P8 for guix-patches@gnu.org; Sun, 05 Jan 2025 17:31:09 -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 1tUZ9J-0006o8-Gv for guix-patches@gnu.org; Sun, 05 Jan 2025 17:31:09 -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=pxbCGWtNd2vUqvY4Go7Br728KUo5PZO1AaI+EMsZ9c7E1v5bo9L3vgcuEF9aTDWJiWav05rzt0tn5yjV7+M8ukQWUJlP93SJy9z4LSnT9xSwLqdMaaEbP0SHICE68ulx590QnvsvmZYhSznAZkVVCimyCwCnBqvnX3TqcN7K7UCW2esFsPrvfY0/dSN5UwIuQ+8arrQF1YxuVXcemLAuj7O/BzbUwKS8xVEKfQV8t5ezlLDDhNCRvtVzCnMv8JTQef24ui7PI3QCoTstFQtWerf7bYyQkHWGnu7rc8i1q7btcl0EhQviURQwUa2E+yl9pUW1V+CrkfqTKe/jntJ1ig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUZ9C-0007zR-QN; Sun, 05 Jan 2025 17:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [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: Sun, 05 Jan 2025 22: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: 72925@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 72925-submit@debbugs.gnu.org id=B72925.173611626030695 (code B ref 72925); Sun, 05 Jan 2025 22:31:02 +0000 Received: (at 72925) by debbugs.gnu.org; 5 Jan 2025 22:31:00 +0000 Received: from localhost ([127.0.0.1]:35713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUZ99-0007yz-Bu for submit@debbugs.gnu.org; Sun, 05 Jan 2025 17:30:59 -0500 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]:59749) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUZ95-0007yZ-Nk for 72925@debbugs.gnu.org; Sun, 05 Jan 2025 17:30:57 -0500 Received: by mail-qk1-x744.google.com with SMTP id af79cd13be357-7b700c13edaso731348185a.3 for <72925@debbugs.gnu.org>; Sun, 05 Jan 2025 14:30:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736116250; x=1736721050; 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=IrmdeTv0hKp4T9vMFbYwukBSNPS5kHemMwRoEbcPJupnja0BmAsFzVIqAiP7mh/aTJ 8/aNdMg5FfvqFAhVtEllScQMOKQMk5fYlaPW7y2f3ZevZ6HGpS+UNDlUkBWRSl5Dl9vb M2kqZGIFryMtoCmUrOAUld1aOcbXUx+jscLw6va2jNFQ0W3RPifjV2fNZAoeL6C7xFvJ XBjCma11tzVjyLsj0D92ayg2xeEwzk1jtDVVCpFH3Z6XFc2wjFo5GtQhqPSbr/SupfXj hFcuE1uqWY763Nv/zpz5+bt1TdkXBBWBzsRyd6OKHEgp1hNRKBncSv7e3MNNNsWlyrlM bwGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736116250; x=1736721050; 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=ET9zboNRr/CE6uxoXQVJMJtccVbai9vvCfF18a0Cq7Z1EkqfGTZlwCiu8P45xkY6gN 2m9IGWRZW3f2J/7Yrk5NCgggWNtQT0o1/ECRNszix+YYGgYHi14ciqhw0n245XSyQ4Cq 8092rLjFgnDeVKwI9atLpxyBzaZ/uTfkbDB8q8hg/hO6t8h8FFymhnAEkHDNViDUUz9D NIfPfln/s71Dsc2K4M5WLUH+4p55Uoz20KNQVJNCFUldyit0jda8eTxeaJ3hwJs+AmIQ WVQlsU7/2akerkVyipspz3yC/LVBjL19uzGJsfVmf+EasBd0LtPJ1Rhn6CI86jNy1kNQ PIAg== X-Gm-Message-State: AOJu0YzMLzu7ONeL28gk8IsAPBIYwYnB6eUhAYHwQnPIsGfKKrV2QImz 33XFpLb9jiEfuX0VfCApydGNAJB/8oV/KwKdlA0AufEzmdd97aI6gNY8S7+4 X-Gm-Gg: ASbGncvXkN/R4YnsVaNJdCJlSXWJ9h8D40GZsQcNGLucF+5idw7kxaxepi6h3FmvqOY 39ZAX+vV3EVaM1GvAvLROmGcufJ7mXiRLG9RF6LHIDSKZ7V0CT0Y72dFzmqLlzFWCGb6Dx8gCCw i37ZVQR1S0rtJVnr/HDhbMPKK7j2TyMuVtEG28Vx8bzgX3ToPVj7EsLcnd4UkRD2FZzGba4xltQ Df4P1YBrqsARkCcIYQHTHmvetsxCnqWpKLZNWp12BKVrBvJUu7c X-Google-Smtp-Source: AGHT+IFL/+xLxTMoPNnsvjscOvykNaJngadqlitJ1o6SUFDj9zJb9sEZsZIJt9ZldjGXCGnsYhsNdg== X-Received: by 2002:ad4:5c6a:0:b0:6d8:9d81:2107 with SMTP id 6a1803df08f44-6dd2332dfa2mr814740316d6.20.1736116249723; Sun, 05 Jan 2025 14:30:49 -0800 (PST) Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6dd181d5aabsm164735306d6.108.2025.01.05.14.30.48 for <72925@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2025 14:30:49 -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: mx11.migadu.com X-Migadu-Spam-Score: 1.85 X-Spam-Score: 1.85 X-Migadu-Queue-Id: 35B3D833B8 X-TUID: pXgxbf//78di * 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")