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 gEO+NwGyBGdjWwAAqHPOHw:P1 (envelope-from ) for ; Tue, 08 Oct 2024 04:16:02 +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 gEO+NwGyBGdjWwAAqHPOHw (envelope-from ) for ; Tue, 08 Oct 2024 06:16:02 +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=qPMery2E; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="DA/y2H5J"; 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=1728360961; 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=/S+s70+VsfFP7Wg6hI2DCzvoKSPwtBXxpUisA7Z6Q2s=; b=D58UWZcQBuL6gybikIkR02ZQRTfZEftAb1Ygfnu0tMfw6Xezxf9nWtpQmJx2HYHEMAlwjE M9g4Hd4KQBfzbyxU7QUDaJirdAd6KXjOQvy63eV3vWY5ezNvKMxH5wNmStGkWJrmadQkvL /l50PkUzjCqUWpf8QcZh7kmziHNWrArEpDLHM3TYxOEB0mtMOo2T00KlZXeK+IZbMkRfHR eXmeRvlSqLc0+VPvm2rKJ7WQDKV7/lVHl7oPbqC+PQ88pEkHICOV163XSkM/Q8hAosiAsW ZIQA6u1MOwFC8BccysSVTZ9THJMkZiqezAzaglS8elMM/4vbzZ8iZ7tqxWTsmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728360961; a=rsa-sha256; cv=none; b=RNsSCStOqtC/8u9qhyhjgITxBQSPkGVgN8EStVTMxvBzlusA/Rxydx+Klh2VxAjOJxt/k0 HbOgabnSQ5t3qDaNp28T9/PB6u6Cl8gw852prbc0IAmoh7F2inyBqRgZKOWspjQQ7M9L3f WGgVAkSWDNBVfh+bBV2nUxFRYV1/Z80FXuXBBp3PYTmem61epIK7AhgIp3CPeS0+EpBU9T R2QcYZ9m0QiDcmZzI32VAQEUiLD6mLpoeeUOEweI4nNyYimmsCDhPKqV99GHDyaYvhI0af vrQciCxRQz5quIhQtx5zltQR+czPFZKvJdi5mh5fQ2CeYEz7osV3y3JuzwwN/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qPMery2E; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="DA/y2H5J"; 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 636B2788A0 for ; Tue, 08 Oct 2024 06:16:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sy1df-0006QY-4Z; Tue, 08 Oct 2024 00:15:59 -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 1sy1dc-0006QP-PS for guix-patches@gnu.org; Tue, 08 Oct 2024 00:15:57 -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 1sy1db-0008DP-Uk for guix-patches@gnu.org; Tue, 08 Oct 2024 00:15:56 -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:References:In-Reply-To:From:To:Subject; bh=/S+s70+VsfFP7Wg6hI2DCzvoKSPwtBXxpUisA7Z6Q2s=; b=qPMery2EGejQuhwz2/EkvHd4e5XwLLbUc4jOCe3xkciMfR6P0+ssWklH7GbIO/7KzgrddV/bpFFuVi5ZxRoIIV/eRyTyv97afeexL/oaSBVbD8QhMb+fW9qRynXpljurnK4YCi1rgU2yg8uOXmwOQtoaHoQcR5TDxL97SxHPJB5GrAgjqxihliBHOlbyDP/XRojzTHqBYpYKh/oeLKhm/0bz05Y2FXmOZD+Cf6Ebtrd0mMZrYEeg7fzaLbgpHTT0EqniaZOrK13xrWCmyuQTp0j3KP7P8tqRfmW+IUKuQ+6CsDxjm/8CPx/CL9OAGOwp2pDI46RdqLVWroNtnBSjAg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sy1di-0002HE-IU; Tue, 08 Oct 2024 00:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72925] [PATCH v12 1/2] gnu: Add jpm package. 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: Tue, 08 Oct 2024 04:16: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.17283609308704 (code B ref 72925); Tue, 08 Oct 2024 04:16:02 +0000 Received: (at 72925) by debbugs.gnu.org; 8 Oct 2024 04:15:30 +0000 Received: from localhost ([127.0.0.1]:50111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sy1dB-0002GK-Q0 for submit@debbugs.gnu.org; Tue, 08 Oct 2024 00:15:30 -0400 Received: from mail-qv1-f66.google.com ([209.85.219.66]:56329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sy1d9-0002GC-Oy for 72925@debbugs.gnu.org; Tue, 08 Oct 2024 00:15:28 -0400 Received: by mail-qv1-f66.google.com with SMTP id 6a1803df08f44-6cb2f272f8bso46478716d6.0 for <72925@debbugs.gnu.org>; Mon, 07 Oct 2024 21:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728360858; x=1728965658; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:date:references :message-id:in-reply-to:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/S+s70+VsfFP7Wg6hI2DCzvoKSPwtBXxpUisA7Z6Q2s=; b=DA/y2H5JyRIPX8+fg9FIkgLUNBs+aFWk9Fl5yOYD8L1Wa9VExI2xcQSSGulO23IfTY e+t1ZuMc2ckwPeR5CoNEUJdRT1/Iuak8nCErxOjCgGXJbU/xbHZ3bSVqtGqNcFoPVgas xTf8yYku2rGBb2vX4xZKf7JoIDE1JHdbIewwsvT+atnGA9cVtw1AU+sy9/7rRCZSNO8w Cj5Ue0LRlLGmG6fj3Z+AkDIRJknO8EFkS6RXdCfiP0irv840dOqhH7SdYUMcJgjJtvZr qwqnLB0TL+1/jv2b3hSwaN9iGj8emqQ6FM9N0VujK8D9bybT6GolYTs5fSTsvbPJJQwq q8bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728360858; x=1728965658; h=content-transfer-encoding:mime-version:user-agent:date:references :message-id:in-reply-to:subject:to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/S+s70+VsfFP7Wg6hI2DCzvoKSPwtBXxpUisA7Z6Q2s=; b=ivCj8LODzgTN1ofcGxnysP/eFuT+gbBiVwp0Y/ZbUj+YMyz8H+mgB3MWrnn6ukgG/S X8Ow6M0vkXKiJwq9PC9fkOb+/MLzMGi2zh4J/vCQ7UCgk0GaGHpksX4yjvugMeCGmT1m w3ppEkwTt8V2QTWEZtXxsxI0aBc6Feddfxgym1evk1256qs8YJvUsx1ma8GmVWaiO4rk O/UTvHRAsTzi+FC63R77yR1GosMFZFrqjVRaIkoNSQQbIKcR7mVgHX36qihWAGdBvGto IdtgrKjab/XwlHBH78a079ozNkTaG9ZtGNuj7rDcKG5gtUrTU0zyOlgidMuM+tPt0nNo wzgg== X-Gm-Message-State: AOJu0Yz4Ue/YehlOMYqtGzRESYjdYHlBD+3xLrwTj7hAGxERkkl439q5 2+Y1t/GoVhnDQmxnxg1cDLW5LL+HDtLjWZ49psz0hEw/PlKNf/dSb2V6/h0Z X-Google-Smtp-Source: AGHT+IFHjtWYoY2I1qMZuVwmVYYRgh1Kje0HdFQ/z/oWC35rmApcFyjgEkduGcXvzIHE2jYMkkzrqg== X-Received: by 2002:a05:6214:53c9:b0:6cb:3a1f:e47b with SMTP id 6a1803df08f44-6cb9a4ca073mr185076116d6.52.1728360858393; Mon, 07 Oct 2024 21:14:18 -0700 (PDT) Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cba47528c9sm32110356d6.89.2024.10.07.21.14.17 for <72925@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 21:14:18 -0700 (PDT) From: Suhail Singh In-Reply-To: Message-ID: References: Date: Tue, 08 Oct 2024 00:14:06 -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.22 X-Spam-Score: 1.22 X-Migadu-Queue-Id: 636B2788A0 X-Migadu-Scanner: mx13.migadu.com X-TUID: wRdfKEihgxJ8 * gnu/packages/lisp.scm (jpm): New variable. Change-Id: I9f5ab89a38622689b5d3545abe5d87906dc61f3b Signed-off-by: Suhail --- 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 =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. ;;; @@ -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))) =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)) + (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") --=20 2.46.1