gnu: Add node-mersenne.

* gnu/packages/node-xyz.scm (node-mersenne): New variable.
This commit is contained in:
Efraim Flashner 2020-01-13 22:04:41 +02:00
parent 2f2e7be944
commit a971890b1d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -67,3 +67,26 @@ (define-public node-long-stack-traces
(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)))