From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 aLF+HD9OBGeccwEAe85BDQ:P1 (envelope-from ) for ; Mon, 07 Oct 2024 21:10:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aLF+HD9OBGeccwEAe85BDQ (envelope-from ) for ; Mon, 07 Oct 2024 23:10:23 +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=XecNGHMt; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="EN8ehI/o"; 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=1728335423; a=rsa-sha256; cv=none; b=dy1JWZH3YwgG9x59SgBPCrPbM1DAqYu13dp9fJ/3O/Pyajo0LxhlwGMizl6HRVE60vNDNk 8ueQoXW88UCRUpghQZfk5oZFV5pzhRK4Skx53FAiBgXySd141ypOyUPBk4w9W+KTFHfrlB 5Yqz0ntrqq1vEVG4167NHdRroTT7j4jgFGTRsGR/WZGBR6Q9CI7x9li5BBYXWqmop5uF1C 77QHa72ziCAwDpoLt09ImDIHd8wNBYd/fVcnFjuFneT+5McaNSp311WhEPt8Lmhm95opG0 PTBtwLWhwg2FSMSy+PKkwDB5NbCvZ9xnnOW4fciVNNrPKBi5Wye4GJSEYAsmvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XecNGHMt; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="EN8ehI/o"; 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=1728335423; 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=uKb+d32OYQ3jyheG44SBikTiazh7IaELvxCkm/DqjpY=; b=MIey0l8zkrkFdLiO2PMD1AlJjQYrneOrYR2wotAf5iG8Zx0khqJVPngfZaP0Lodwp0aa/2 mq7XiaPgAkoAaZ0V+VtOwzkS3SaVqz/bAamQQAvNaXIunYrrm2rg87tqT3LJaLKKgRJGa3 JyqpvKhcfW81htn0aNmr/iKTwc/cF0O3+DdV/+YBTLzFHCWZdnncUHEsVDQ8hLV2c1USPU Rs+LYH+rAfZnVf5PRDUS245c1AdwJHaTXrPWxDEWn32RfvFTIlosN9ivLettnppnEOqsOk vsixQO+Sr0s8HeNLRfZjhL6OBAx9IH3JzCMcT0A3lUxlpMmUmgQ7TQSdDv2kQw== 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 E60FD1BBD6 for ; Mon, 07 Oct 2024 23:10:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxuzQ-000353-6Q; Mon, 07 Oct 2024 17:10: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 1sxuzP-00034H-1v for guix-patches@gnu.org; Mon, 07 Oct 2024 17:09: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 1sxuzO-0008Ri-Pm for guix-patches@gnu.org; Mon, 07 Oct 2024 17:09: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:From:To:In-Reply-To:References:Subject; bh=uKb+d32OYQ3jyheG44SBikTiazh7IaELvxCkm/DqjpY=; b=XecNGHMt9byKlLCYtXUda3OuawKFt1RHgNXSqYOPwTcFtgm+UwiUwkRpHDLnylsGgWk7VKW0wdFfiy4P7tQZs0SgE8Z3ZDiq3/y2o+z+vdBmZsnlyJYQQbJBqvJqPTchIlAtx+5wk5qfsBzvht0DMGFEfqUZX9IXbqXSknnHZavt9chGTBw+yrZiQamyZpwScFetlc3dli6Ldw7kHs8y8q6FovsRDMN1sHwYZITH/a1xhPf+TKWqQMo6ql/JMW3rMMoAydpAtQIUQ0NMbYLWnIDaSklKP0GTwP6BQj7zwVTHVu2lmWnAfTpapztnifXrYfRmSiH0MuZ9WWA6Ga8xZw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxuzR-0004UF-SR; Mon, 07 Oct 2024 17:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v11] 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: Mon, 07 Oct 2024 21:10: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.172833539617227 (code B ref 72925); Mon, 07 Oct 2024 21:10:01 +0000 Received: (at 72925) by debbugs.gnu.org; 7 Oct 2024 21:09:56 +0000 Received: from localhost ([127.0.0.1]:48551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxuzL-0004Tm-O8 for submit@debbugs.gnu.org; Mon, 07 Oct 2024 17:09:56 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:43206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxuzJ-0004Tc-1f for 72925@debbugs.gnu.org; Mon, 07 Oct 2024 17:09:54 -0400 Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a99415adecaso370600366b.0 for <72925@debbugs.gnu.org>; Mon, 07 Oct 2024 14:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728335324; x=1728940124; 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=uKb+d32OYQ3jyheG44SBikTiazh7IaELvxCkm/DqjpY=; b=EN8ehI/o/f879+hFi+YSc+NzIlASnJ3GPePSbzzQbebIeyScN1BtT8NRigeEsBOqOH 4BHH13BOVGonAZKCe+MhsBklTFo3QCYlGeHis/c9/OaojiuUzmnR/KMyDkCnqII3h+hH 7rFdXZg9SfA4Y5oHKe4ejn0bjkpYd1k78dF4T2auKcdubxvbsYqAtzg12saRdK8BHArz T5N3qDVrDPkbNaeSkByXXkgDTLu8+UpaUxP+P5fJ4rcr8lplMJZobxQDCFwT2QKhczpa 60a/fgQLE37QWusgPbGPoUIWB3C9EYsTkv1ke1tP4IYKqQ4acCsLz3TcbRYDIETKO4Bi yngQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728335324; x=1728940124; 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=uKb+d32OYQ3jyheG44SBikTiazh7IaELvxCkm/DqjpY=; b=C4pFMgcAmhuR+LEuq2gJycJI0U+Hn4zEhwnsqvT1MsGNq8yrWsklULwYOxDMiC+2sR Fko5ZiLthhNkdzCjc5r/zuE4ZsAGlhJQzKzZMHwE3geh3hRAcOiMZbnsRwbidFdAZGLa Dbad3xnzTTqE9t2HtRJNBzW1QMqRVaZ3p3fLZjRh1Jf3RirZQwogE8es7zMpZiIULtk1 4x7jq5QueTDnvacegzNMv2Rsyp1g3QETeiusUjuBJvEolgcimeH2aWwGn6w1v2eSBsAA PSZBMwuJoicHB7OIBMZ5dytfb2QyBI298FSTe6kBe/QfSwWD40zYsC9PSKOrMD55QRWl r26Q== X-Gm-Message-State: AOJu0YySOxshmuY5rKk5+sXa1fXx5l7tcoIqZjdjiXrEn1eQ44+VLBPr YwtI9HtfGKcSv5v2gZvmCVHhHntEC8Hc7+g6PeIMRf2MzXHM3lcqKwUMxtgk X-Google-Smtp-Source: AGHT+IHO4Tf6Nyob7EJtrQnjaJ4SXu+lBrMwLS962wAjDkIgg/yO7/ou2bgVGfqJ2XTjt9qWIw9vcw== X-Received: by 2002:a17:907:7d8a:b0:a8d:3fb6:33df with SMTP id a640c23a62f3a-a99678aeeeemr105861866b.8.1728335323487; Mon, 07 Oct 2024 14:08:43 -0700 (PDT) Received: from omar-Latitude-5540.. ([46.232.152.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a995350d522sm191822866b.32.2024.10.07.14.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 14:08:42 -0700 (PDT) From: Omar Bassam Date: Tue, 8 Oct 2024 00:08:37 +0300 Message-ID: <453b1ca8f09ec70707b71557d75dd46ca2299784.1728335255.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: -0.38 X-Spam-Score: -0.38 X-Migadu-Queue-Id: E60FD1BBD6 X-Migadu-Scanner: mx12.migadu.com X-TUID: CZWbEusH5XCf * gnu/packages/lisp.scm (jpm): New variable. Change-Id: I9f5ab89a38622689b5d3545abe5d87906dc61f3b --- gnu/packages/lisp.scm | 65 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6c16d8ab71..04b56ea99b 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. ;;; @@ -62,6 +63,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) @@ -917,6 +919,69 @@ (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") + (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 "/" 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)) + (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 native +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: a873666d3bf716a5ae29275efaa000eaf6d1e2a8 -- 2.45.2