unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: phodina via <help-guix@gnu.org>
To: help-guix <help-guix@gnu.org>
Cc: "Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
	"Ludovic Courtès" <ludo@gnu.org>
Subject: NPM importer or how create packages
Date: Sat, 13 Aug 2022 22:02:47 +0000	[thread overview]
Message-ID: <o0-2t5iO5OimVoZ7VU7Ddn8rZ9lxsWqL-uGTdyXiMQ9GCMZtXNdmdWUq4QNhwivJGmRxGHqTsC-ei5xQPKt7ttOaJcbVTpVTZvVGrlMx4qI=@protonmail.com> (raw)

Hi,

I'd like to package one NPM module [1]. It works with archive format and provides enqueue and dequeue operations.

However, I'm not javascript developer and with knowledge of Rust and Go dependencies I expect the package will pull lot of them as simple package definition yielded missing packages coming from `package.json`.

I read discussion around binary npm imported Merging the “binary” NPM importer. [2]

So if there is no guix import npm​ what would be the best approach to create package(s) for this NPM module?

Or is it better to create some simple script in Python/Go/Rust to do the job in the meantime? I don't need NPM or Javascript for the project otherwise - just extract the archive.

Also using Nix version is not a possibility as it pulls to much dependencies.

Btw thanks for the link to John Carmack speech.

[1] https://www.npmjs.com/package/asar[2] https://lists.gnu.org/archive/html/guix-devel/2021-10/msg00290.html

----
Petr

                 reply	other threads:[~2022-08-13 22:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='o0-2t5iO5OimVoZ7VU7Ddn8rZ9lxsWqL-uGTdyXiMQ9GCMZtXNdmdWUq4QNhwivJGmRxGHqTsC-ei5xQPKt7ttOaJcbVTpVTZvVGrlMx4qI=@protonmail.com' \
    --to=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=phodina@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).