summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAnderson Torres <anderson.torres.8519@gmail.com>2025-11-08 21:29:20 -0300
committerAndreas Enge <andreas@enge.fr>2025-12-03 11:39:24 +0100
commit4d0c2275781bc941f8a85798c54db5c8d3a4d816 (patch)
tree6bb102bd31c0ec6a92303a01b5848034693748e6 /gnu
parent76f3873e9459ee86d72daec97d2ce34115af5b5c (diff)
gnu: primecount: Reformat.
* gnu/packages/maths.scm(primecount): Reformat. [source, arguments]: Indent. [description]: Fill column limit. [home-page]: Put right before license. Change-Id: I7630dc994166664bf96a7da262062c2b292f0073 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maths.scm38
1 files changed, 21 insertions, 17 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a255e1aa93a..6b1b6bdf66a 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4270,31 +4270,35 @@ functions.")
(package
(name "primecount")
(version "7.19")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/kimwalisch/primecount")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1yjqk0q04d8kqkal5vahyfgwas1sz8h3scmk27sr128jcc1cvcx6"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kimwalisch/primecount")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yjqk0q04d8kqkal5vahyfgwas1sz8h3scmk27sr128jcc1cvcx6"))))
(build-system cmake-build-system)
(arguments
- (list #:configure-flags #~(list "-DBUILD_LIBPRIMESIEVE=OFF"
- "-DBUILD_MANPAGE=ON"
- "-DBUILD_SHARED_LIBS=ON"
- "-DBUILD_STATIC_LIBS=OFF"
- "-DBUILD_TESTS=ON")))
+ (list
+ #:configure-flags
+ #~(list "-DBUILD_LIBPRIMESIEVE=OFF"
+ "-DBUILD_MANPAGE=ON"
+ "-DBUILD_SHARED_LIBS=ON"
+ "-DBUILD_STATIC_LIBS=OFF"
+ "-DBUILD_TESTS=ON")))
(native-inputs
(list asciidoc))
(inputs
(list primesieve))
- (home-page "https://github.com/kimwalisch/primecount")
(synopsis "Fast prime counting function implementations")
- (description "@code{primecount} is a command-line program and C/C++
-library that counts the number of primes ≤ x (maximum 1031) using highly
+ (description
+ "@code{primecount} is a command-line program and C/C++ library that
+counts the number of primes no greater than x (maximum 1031) using highly
optimized implementations of the combinatorial prime counting algorithms.")
+ (home-page "https://github.com/kimwalisch/primecount")
(license license:bsd-2)))
(define-public primesieve