[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: Add pcg-cpp.
From: |
guix-commits |
Subject: |
03/09: gnu: Add pcg-cpp. |
Date: |
Tue, 2 Mar 2021 17:13:15 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit be22c87d2df59dffdee7cad8c725a9f3bd3aa9ef
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Tue Feb 23 14:11:06 2021 +0000
gnu: Add pcg-cpp.
* gnu/packages/cpp.scm (pcg-cpp): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/cpp.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 659eb1c..eeb4595 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -980,3 +980,32 @@ programming environment using the actor model for
concurrent, distributed
computation.")
(home-page "https://www.actor-framework.org/")
(license license:bsd-3)))
+
+(define-public pcg-cpp
+ (let ((commit "5b5cac8d61339e810c5dbb4692d868a1d7ca1b2d")
+ (revision "1"))
+ (package
+ (name "pcg-cpp")
+ (version (git-version "0.98.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/imneme/pcg-cpp")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1s9dcd4iydlc1xj9m6f7c52nlyx99klk043sk7arqy6kp7gdaa33"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))
+ #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
"out")))))
+ (synopsis "C++11 header only library for random number generation")
+ (description "The Permuted Congruential Generator (PCG) extends the
+Linear Congruential Generator (LCG) with a permutation function to increase
+output randomness while retaining speed, simplicity, and conciseness.")
+ (home-page "https://www.pcg-random.org")
+ (license (list license:expat license:asl2.0))))) ; dual licensed
- branch master updated (3905580 -> 24b2b5f), guix-commits, 2021/03/02
- 01/09: gnu: Add readstat., guix-commits, 2021/03/02
- 04/09: gnu: Add python-jinja2-cli., guix-commits, 2021/03/02
- 02/09: gnu: r-haven: Unvendor readstat., guix-commits, 2021/03/02
- 07/09: gnu: Add usync., guix-commits, 2021/03/02
- 09/09: openpgp: Remove now unnecessary procedure., guix-commits, 2021/03/02
- 08/09: gnu: usync: Patch shebang., guix-commits, 2021/03/02
- 05/09: gnu: stgit: Update to 1.0., guix-commits, 2021/03/02
- 03/09: gnu: Add pcg-cpp.,
guix-commits <=
- 06/09: gnu: ocaml-llvm: Move to (gnu packages llvm)., guix-commits, 2021/03/02