diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-01-13 22:04:41 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-20 09:39:51 +0200 |
commit | a971890b1da4543455d079b105364c390301986e (patch) | |
tree | c7a27292d5f135702d8a29a753e56ff9c8207d00 | |
parent | 2f2e7be944c80d5fdb7fcab90ecf2ddf4b80c416 (diff) | |
download | guix-a971890b1da4543455d079b105364c390301986e.tar.gz |
gnu: Add node-mersenne.
* gnu/packages/node-xyz.scm (node-mersenne): New variable.
-rw-r--r-- | gnu/packages/node-xyz.scm | 23 |
1 files changed, 23 insertions, 0 deletions
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))) |