GNU bug report logs - #55005
[PATCH 00/13] gnu: Add multiple haskell packages

Previous Next

Package: guix-patches;

Reported by: Thomas Albers Raviola <thomas <at> thomaslabs.org>

Date: Mon, 18 Apr 2022 18:09:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Thomas Albers <thomas <at> thomaslabs.org>
To: 55005 <at> debbugs.gnu.org
Cc: Thomas Albers <thomas <at> thomaslabs.org>
Subject: [bug#55005] [PATCH 01/13] gnu: Add ghc-primes
Date: Mon, 18 Apr 2022 20:09:45 +0200
---
 gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0ce47e0902..beba6a5d0c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -30,6 +30,7 @@
 ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber <at> dustycloud.org>
 ;;; Copyright © 2021 Alice BRENON <alice.brenon <at> ens-lyon.fr>
 ;;; Copyright © 2021 John Kehayias <john.kehayias <at> protonmail.com>
+;;; Copyright © 2022 Thomas Albers Raviola <thomas <at> thomaslabs.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -16105,3 +16106,23 @@ (define-public ghc-singleton-bool
      "This package provides Type-level booleans.")
     (license license:bsd-3)))
 
+(define-public ghc-primes
+  (package
+    (name "ghc-primes")
+    (version "0.2.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/primes/primes-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "0ny6fzr967d1fifk050k95j9snnbjjif2bxf3v9s93k3zdc6bmkl"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (home-page "https://github.com/sebfisch/primes")
+    (synopsis "Purely functional generation of prime numbers")
+    (description
+     "This library provides an efficient lazy wheel sieve for prime generation.")
+    (license license:bsd-3)))
-- 
2.35.1





This bug report was last modified 3 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.