From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 2CotIO4QAGdbwwAAqHPOHw:P1 (envelope-from ) for ; Fri, 04 Oct 2024 15:59:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2CotIO4QAGdbwwAAqHPOHw (envelope-from ) for ; Fri, 04 Oct 2024 17:59:42 +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=t8ONWfhH; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iodjar4t; 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=1728057582; 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=/AHCNYS+D25XpLGVSbGvwI5mif2B6pxJHFnzdTfatNs=; b=LCKI21zOEM4gkUqDcX3baWQz8iqu/fXqb0YiU0KxyQ6hXLk0seb8Sn1Gcwk5tZj1DkdJT+ bNVxBvfDiuVGymbWNrNrpAkusYr8VMcLDzhOfptJw1+BZ1k5y9mcWM7uQe/iC6exySUiR5 uM8bxsTQ7YUQMYBQLQ2ERUYXkikYd6mi04e/9JgBfpBd2iWB7irVK1Dn26tfmNJUsE8R7p ztI/O6upBds3XFznuc46FiX1BesstMCaFcGuzeLAR3BubkrueJJxWKZtHtpSrIWAPn9JW+ 5TFcPdbCz904KLPT6hXf95bPDK4jIj3ZXlzx9LkKJ0nnSJP1wnGxVEzGsNIDiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728057582; a=rsa-sha256; cv=none; b=WCcsUMc09iMgBkEHJ4n0q1/wGNNlPEJX8Ia8ycXChpPSzduNw4Njz01E+TjEobsaAvTgzT 1gRslVC/i9quZw3ODVjIVSXSTgYj5JbRbACYTCERxAOsk+d8JG1pVYHn8tn4DXdClwUIKu KB277VE66BPAoVm2S5Q4P08uU7n58fgUj0m9E4aMl1xafJMgYsDliCko/Pg1wvSNzlyQqy +swFI+Tvg+pgxalSILlB+lCw7hIfMyZZqQj8lOl3c7VkLs3q6ZuC/r3Sa9y41rUY4upcEP jfFfknSApshTmSCcj+bi80vP1PqXpaIKl3u7jnCDnVQ5OIFZxAPtvk0/1juXcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=t8ONWfhH; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iodjar4t; 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 E478756C4A for ; Fri, 04 Oct 2024 17:59:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swki0-00012q-PD; Fri, 04 Oct 2024 11:59:13 -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 1swkhp-0000i5-9D for guix-patches@gnu.org; Fri, 04 Oct 2024 11:59:04 -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 1swkho-0000v9-K5 for guix-patches@gnu.org; Fri, 04 Oct 2024 11:59:01 -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=/AHCNYS+D25XpLGVSbGvwI5mif2B6pxJHFnzdTfatNs=; b=t8ONWfhHXJyG1mg0UJVcmfeZphWmkgmGzvFMlfkhrPzMwwJ/lO56LQ9TcDkIFSV/gLkItpE22tf6MvJWrwCOt8en7Pxl0wbUvdm3r2KUGLfl3FlCcykeVGDiq108CFghaMoVi5nC8ZwlpE1Os8CPfdeP7rrjGL48UPYt8+KhIS79R4dQ3v951dnKexP4KQBCh8M8FVBP/XgVxJTxmYm7oG1QBEODLTJ2ZODS7/UuyMlKY2vRgXZnIIpEZYFSyIjBM5DxC8sfCBMtoJcmUlYmxjo5pKj5iEuZO3HZLf7uop9N5xxGLE5Fm1bPyH0cnL//OyX+l4GHDvbgkvGHViOVbQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swkhq-0005o7-9K; Fri, 04 Oct 2024 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v8] gnu: add jpm package References: In-Reply-To: Resent-From: Omar Bassam 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, "Suhail Singh" Resent-Date: Fri, 04 Oct 2024 15:59: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: 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.172805753022303 (code B ref 72925); Fri, 04 Oct 2024 15:59:02 +0000 Received: (at 72925) by debbugs.gnu.org; 4 Oct 2024 15:58:50 +0000 Received: from localhost ([127.0.0.1]:36312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkhe-0005nf-4D for submit@debbugs.gnu.org; Fri, 04 Oct 2024 11:58:50 -0400 Received: from mail-ej1-f52.google.com ([209.85.218.52]:54493) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swkhc-0005nX-5N for 72925@debbugs.gnu.org; Fri, 04 Oct 2024 11:58:49 -0400 Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a8d43657255so350100366b.0 for <72925@debbugs.gnu.org>; Fri, 04 Oct 2024 08:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728057463; x=1728662263; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/AHCNYS+D25XpLGVSbGvwI5mif2B6pxJHFnzdTfatNs=; b=iodjar4tnYfbLaEG7kzHxGAcZSJJwHA2BRlKWCpRnAvuRROPXvFUJkhEt8MhPQDTJw JzlpTkQqB5nPoD6xQqnnRWwJLnCnHWP71EZ1pjNUVz27iK7BCdtj4cN4gL0oIzJyxDOe VI+ZrKsHa9dtcUb14n/i3c3uH+NTNFIHq7u3p2dhO305eKdiQtCBARArJUV1aNHEkJIW Kq49SxD5sj/bNOB0T3XfL07EX+48wnoq0CAuT8mYcpiH4J8tE6ad9pH7D4xNau3mOFai BK4LEC4SNlLi4pJs1wisc3/kDZw3r/PXOYnYUJjhd7aASqmWPKkJDP3mEFjfQVZC+ZcC dcfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728057463; x=1728662263; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/AHCNYS+D25XpLGVSbGvwI5mif2B6pxJHFnzdTfatNs=; b=Iz9Zc98hVT6+BGK5ryfiRqGO7IktD+9+vTV4g6uYYy4TKg2vZJQe7Rm7GRT7b97Vev So55RG5m8yuptEensSnWJYb5X4O16fyGuUjzNdvXrT0orLhS7qqOoKqPqsKoeR5RVm8A 7pDSYfmSk1bkAvcdAmkrOUHRXcmMqW/LXUuLeIvVW1s2alae7Uz60W3ubNB27wOIM5Xi Pf6lVuubLnHNq/NPIlxDolBp7ZyfPM1314S2fu7Nbw54wvAsYDY0ctaKL1s7RqOKxxMY FhFaB1Reget9k7dnczbXkqFCSaLubXPta9YgphyCbyhmpXZELgearHwDJPzYXrtEtmtJ 7Y8g== X-Gm-Message-State: AOJu0YzlK52dEfJV1xMEjAV/fO7WYuvTVpNXB4CI+RS0ilWv9PCr5gjo BaS+/8Ff6FzsA4UaQYRjz8Y647SbENuR0tGhNKmP4DeprgtkITLoSX+d9vuC X-Google-Smtp-Source: AGHT+IGz6HSmop5k/doDCuIOqHoo3GuyBTsoutXrVjZ87Y/jzf40Mxva7wj9g6fdubF9WWIvH7k+nA== X-Received: by 2002:a17:907:3f16:b0:a98:ec66:5e3f with SMTP id a640c23a62f3a-a991c053bcamr337256566b.58.1728057463061; Fri, 04 Oct 2024 08:57:43 -0700 (PDT) Received: from omar-Latitude-5540.. ([46.232.152.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a992e7ed135sm7851866b.218.2024.10.04.08.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 08:57:42 -0700 (PDT) From: Omar Bassam Date: Fri, 4 Oct 2024 18:57:36 +0300 Message-ID: <8223c6391ac0b6a7d0aba42d32eb037c2deef26d.1728055031.git.omar.bassam88@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: 1.14 X-Spam-Score: 1.14 X-Migadu-Queue-Id: E478756C4A X-Migadu-Scanner: mx13.migadu.com X-TUID: GLtrhsUmTlIE * gnu/packages/lisp.scm (jpm): New Variable Change-Id: I92cf244ab23062ae3448099506d1b068394d7094 --- gnu/packages/lisp.scm | 72 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6c16d8ab71..ee9913f14e 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2024 Andreas Enge ;;; Copyright © 2024 bigbug ;;; Copyright © 2024 Ashish SHUKLA +;;; Copyright © 2024 Omar Bassam ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,6 +71,7 @@ (define-module (gnu packages lisp) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages boost) #:use-module (gnu packages check) + #:use-module (gnu packages certs) #:use-module (gnu packages compression) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) @@ -917,6 +919,76 @@ (define-public janet assembler, PEG) is less than 1MB.") (license license:expat))) +(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.git") + (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 "\"" + (assoc-ref inputs "gcc-toolchain") + "/bin/gcc" "\"")) + (("\"c++\"") + (string-append "\"" + (assoc-ref inputs "gcc-toolchain") + "/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 "/" dir))) + '("lib/janet/jpm" "share/man/man1")) + (invoke "janet" "bootstrap.janet" + "configs/linux_config.janet") + (wrap-program (string-append #$output "/bin/jpm") + `("JANET_HEADERPATH" ":" = + (,(string-append #$janet "/include/janet"))) + `("JANET_LIBPATH" ":" = + (,(string-append #$janet "/lib"))))))))) + (inputs (list bash-minimal janet)) + (propagated-inputs (list janet + coreutils + git + curl + 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 "JPM is the Janet Project Manager tool. It is for automating +builds and downloading dependencies of Janet projects.") + (license license:expat))) + (define-public lisp-repl-core-dumper (package (name "lisp-repl-core-dumper") base-commit: ebb715aabfc4e59ed14b964ac7fdd2a9f9f44526 -- 2.45.2