From patchwork Mon Jan 13 20:04:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 19783 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 07AEB17A87; Mon, 13 Jan 2020 20:07:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id B4B6217A5F for ; Mon, 13 Jan 2020 20:07:13 +0000 (GMT) Received: from localhost ([::1]:55244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir5zU-0000qp-SE for patchwork@mira.cbaines.net; Mon, 13 Jan 2020 15:07:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45576) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ir5zM-0000mY-0c for guix-patches@gnu.org; Mon, 13 Jan 2020 15:07:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ir5zK-0002np-OZ for guix-patches@gnu.org; Mon, 13 Jan 2020 15:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ir5zK-0002nd-L5 for guix-patches@gnu.org; Mon, 13 Jan 2020 15:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ir5zK-0008MJ-Fi for guix-patches@gnu.org; Mon, 13 Jan 2020 15:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39119] [PATCH 3/9] gnu: Add node-mersenne. References: <20200113200137.GF858@E5400> In-Reply-To: <20200113200137.GF858@E5400> Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Jan 2020 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39119 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39119@debbugs.gnu.org Cc: Efraim Flashner Received: via spool by 39119-submit@debbugs.gnu.org id=B39119.157894599432090 (code B ref 39119); Mon, 13 Jan 2020 20:07:02 +0000 Received: (at 39119) by debbugs.gnu.org; 13 Jan 2020 20:06:34 +0000 Received: from localhost ([127.0.0.1]:60115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir5yr-0008LV-RS for submit@debbugs.gnu.org; Mon, 13 Jan 2020 15:06:34 -0500 Received: from flashner.co.il ([178.62.234.194]:48780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir5yq-0008LK-IJ for 39119@debbugs.gnu.org; Mon, 13 Jan 2020 15:06:32 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id D57DA402DB; Mon, 13 Jan 2020 20:06:26 +0000 (UTC) From: Efraim Flashner Date: Mon, 13 Jan 2020 22:04:41 +0200 Message-Id: <20200113200447.5490-3-efraim@flashner.co.il> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-mersenne): New variable. --- gnu/packages/node-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index a8285eb49c..5040c8db91 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -67,3 +67,26 @@ (description "This package provides long stacktraces for V8 implemented in user-land JavaScript.") (license license:expat))) ; in README + +(define-public node-mersenne + (package + (name "node-mersenne") + (version "0.0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jwatte/node-mersenne") + ;; The actual release lacks a git tag. + (commit "f9fa01694ee49d6ae6ff9d90cfda594bddd3ccef"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "034iaiq2pdqn342p2404cpz364g282d2hkp9375hysnh9i968wbb")))) + (build-system node-build-system) + (arguments '(#:tests? #f)) ; No tests. + (home-page "http://www.enchantedage.com/node-mersenne") + (synopsis "Node.js module for generating Mersenne Twister random numbers") + (description "Thix package provides a node.js port of the Mersenne Twister +random number generator.") + (license license:bsd-3)))