From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ECfECbmvAGdEAQAAe85BDQ:P1 (envelope-from ) for ; Sat, 05 Oct 2024 03:17:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ECfECbmvAGdEAQAAe85BDQ (envelope-from ) for ; Sat, 05 Oct 2024 05:17:13 +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=e7i2sF1f; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cvY6OgrK; 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=1728098233; 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=G4XjoKxX02hmUl9m9McSQErVhvGIjioJMuNjb63w0HY=; b=APSXZv0jdmTCBsDdO9Q4g3cNSqbvIK+l4zhdw2wOhuBg0o6FKNW23QJIqNcLgso/pSdq5s LLrM9udn+iXWDjuiPU8LOa6xhj/nPgx9szuM3J1TGKZv5k16V7oZ38c8si6iOxFR4b4iW3 Jv7WJDbxrJhMK4kbyst+Mj8CMb4Ov6rmYtU0rQojNJA6KjV7gmqJis6DNCcrBO4ZOeLStk y+xFQEQgvqhp+9uiNzxuoBlCH/8A04TT1JazOVCylaG+GOajLy4Kxt2dZ1LeKxCmeKxrbT lTqqD89OsXSCDiAT/T/N/6QSYc6x9RFng3gIYRSXYlm6tFuNp3NcxeEz27vN4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728098233; a=rsa-sha256; cv=none; b=PzyxdiHvgtZz7lIaVcRzxyKB6M02tLgmQM1IN5BlzyV/h9dPZhuEQh7U6QvsmjmUQ0upN7 KdDwmJJYvPi6TLwL7VBvwO4jwgEQSYOFNoxl3435qBHiwKCL9y4jnDN7j8LugSh60eHXWs 4Hh3P5sQCh49X8EXZrOfMNB0XM/F1/4XGOi2IooKLZ7R28Nv/Wciwzz6XMwVPfBhiyAIMl bh0jxUxaaoT6prdnh4zo5BZjQM/pQk8Mx2ZDPz22SSHK3C7gZOy89NnHzbDod3137khEj4 MNfiZRePmmr+WwmOJz0ThsCZqA2CcYwrpHXuUfkH58+NpCftgQkZNlKUYT9+Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=e7i2sF1f; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cvY6OgrK; 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) 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 58B4084CFA for ; Sat, 05 Oct 2024 05:17:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swvHx-00074E-5n; Fri, 04 Oct 2024 23:17:01 -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 1swvHv-000740-Gb for guix-patches@gnu.org; Fri, 04 Oct 2024 23:16: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 1swvHv-0000BP-8O for guix-patches@gnu.org; Fri, 04 Oct 2024 23:16:59 -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:From:To:In-Reply-To:References:Subject; bh=G4XjoKxX02hmUl9m9McSQErVhvGIjioJMuNjb63w0HY=; b=e7i2sF1fsOXGIz9lYr6tvrEs1DedkCCtfy+HOLmF+eIE1vwnFeQtfftFkag4lAz1Qn+pm32UC8IZaCe8ilbTkjHSrNrCXYoZ6AKlWiDJTungCQzge5wH3rijKMpDve7ZSoUtHy8HzRPhdoITjscx4XHTaYhbw90L73LYr4evDR1pAzhr1ELrW9xx/lF0t36S9mQZOyoncQzpoNOEQeTHLAFW/C125QER/MZydJxh4BthsDOpBuDwd9Ifyhb3VLnM4UPzeXx9FHLE48X+HP7+o8lMmCqfF9K2i8L72rHTl6oDbHdS+LafSVZMGPrMhdWgGU5Nbi8qcLxQCjFKjSIK/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swvHx-0007tr-NQ; Fri, 04 Oct 2024 23:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v9] gnu: Add jpm. References: In-Reply-To: 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: Sat, 05 Oct 2024 03:17:01 +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: Omar Bassam , 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.172809821030342 (code B ref 72925); Sat, 05 Oct 2024 03:17:01 +0000 Received: (at 72925) by debbugs.gnu.org; 5 Oct 2024 03:16:50 +0000 Received: from localhost ([127.0.0.1]:37072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swvHl-0007tK-GA for submit@debbugs.gnu.org; Fri, 04 Oct 2024 23:16:49 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:48593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swvHi-0007t6-Iv for 72925@debbugs.gnu.org; Fri, 04 Oct 2024 23:16:47 -0400 Received: by mail-qk1-f193.google.com with SMTP id af79cd13be357-7a99fd4ea26so220947185a.1 for <72925@debbugs.gnu.org>; Fri, 04 Oct 2024 20:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728098137; x=1728702937; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:date:message-id :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=G4XjoKxX02hmUl9m9McSQErVhvGIjioJMuNjb63w0HY=; b=cvY6OgrKjuH+sbmfajISXwuJ4qo1stYe7w+sikU8TpbT0Dn4UWRsW/b9ou2pak27Je 2fYo+SjlqqXbg5eA1UqFGR5mvIpAji2m+lzeGfqKQXuWq6dVVy+VCKbuLabyHg0A2udF wDm73ZbGHiGc6CcQxaDVwmMFJJAyEH1ejaiOkFjiWsiT2rs28y6iNjRmqJ8zECGc00jo 39aOCYkuLXh35BYukeyEdCvMqD9JCl+qP1fglhz0cRNdFpSTzOa2gzSBrXx+L8qn25nW EXhlsA8ag6td4sXYkja/ClQzKANLLeh3asKIW5Tp9xQNoz4x0CfaYnwugi+xqqsrPXEl bx/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728098137; x=1728702937; h=content-transfer-encoding:mime-version:user-agent:date:message-id :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G4XjoKxX02hmUl9m9McSQErVhvGIjioJMuNjb63w0HY=; b=EqHMk76YJfxz6MT7fv24oFC2zxn+A1UdsFeQFj/+79UEB5m7XnH3YXDnBaXPadUEpU MXRBi47fBGxu/QCndylt82ct7r7X22foYDp5rI+LldJQR2R2wc8dvw0pi6A2h8RAHlwE cvsI5EO3j83F9BKdWVDUXQxvsOL6nCUV39wEBLGGwv1s86AvuDr6niihDzkA3oySSxh3 hkuyyU1g+6joNHjkTorre+pzlqBUO3S1vgbaVHDb4Oh3pqxku9W5nzpby9hX5ExeO0w0 2gjrePNvI3XpjtDKp7nx6NDbs0RbBQVdE04gdMlq2teILMdnfFMDVTKp3fOK0volhejl J8JQ== X-Gm-Message-State: AOJu0YwRTBdFAzsNrbhDhnQT94xSoO7pLKdovJD659aA7IDoC1KaLx9/ WWnP4fXoCDgy7zDCpPYXMbLq+7Heou6MsppLuLTp8dcyQWtH2JGa X-Google-Smtp-Source: AGHT+IHkHlEX1b7GRqZgr1JZQ28PhIw7Eyei2f90dWPpMgQBcm5pXf9BFaNz0OgS0c6cmnipM2PuWA== X-Received: by 2002:a05:620a:318b:b0:7a9:c129:4e84 with SMTP id af79cd13be357-7ae6f4880d0mr785246985a.45.1728098136621; Fri, 04 Oct 2024 20:15:36 -0700 (PDT) Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7ae75764f00sm40919485a.115.2024.10.04.20.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 20:15:35 -0700 (PDT) From: "Suhail Singh" Message-ID: <62a470b969879d779dbd6c77303a71a84193099d.1728096820.git.suhail@bayesians.ca> Date: Fri, 04 Oct 2024 23:15:16 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) 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-Spam-Score: 1.16 X-Spam-Score: 1.16 X-Migadu-Queue-Id: 58B4084CFA X-Migadu-Scanner: mx13.migadu.com X-TUID: hQGHBtNAIuf2 * gnu/packages/lisp.scm (jpm): New variable. Change-Id: I730ef2f5c874c5142a580a42af76180e95d93ccd Signed-off-by: Suhail --- gnu/packages/lisp.scm | 70 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6c16d8ab71..faa7ed7bed 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 ;;; ;;; This file is part of GNU Guix. ;;; @@ -69,6 +70,7 @@ (define-module (gnu packages lisp) #:use-module (gnu packages bash) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages boost) + #:use-module (gnu packages certs) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) @@ -917,6 +919,74 @@ (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 "\"" + #$gcc "/bin/gcc" "\"")) + (("\"c\\+\\+\"") + (string-append "\"" + #$gcc "/bin/g++" "\"")) + (("\"git\"") + (string-append "\"" + #$git "/bin/git" "\"")) + (("\"curl\"") + (string-append "\"" + #$curl "/bin/curl" "\""))) + (substitute* "jpm/shutil.janet" + (("cp") + (string-append #$coreutils "/bin/cp"))) + (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)) + (propagated-inputs (list janet + git + nss-certs + ;; Lazily resolve the gcc-toolchain to avoid a + ;; circular dependency. + (module-ref (resolve-interface '(gnu packages + commencement= )) + 'gcc-toolchain))) + (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") base-commit: 73ec844389e91cb0f5a2647070516fc8d19d8730 --=20 2.46.1