@@ -1360,6 +1360,28 @@ (define-public primecount
optimized implementations of the combinatorial prime counting algorithms.")
(license license:bsd-2)))
+(define-public python-primecountpy
+ (package
+ (name "python-primecountpy")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "primecountpy" version))
+ (sha256
+ (base32 "0xh6zx5zw5scy7jygqirks9y6z4zyfm0zjfp8nd6dw0m471przkq"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; there are no tests
+ (native-inputs (list python-cysignals python-cython))
+ (inputs (list pari-gp primecount))
+ (home-page "https://github.com/dimpase/primecountpy")
+ (synopsis "Cython interface for C++ primecount library")
+ (description "This package provides a Cython interface to the C++ library
+@code{primecount}.")
+ ;; pyproject.toml says gpl3 but file headers say gpl2+.
+ (license license:gpl2+)))
+
(define-public giza
(package
(name "giza")