From patchwork Mon Apr 18 18:09:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 38664 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0115927BBEA; Mon, 18 Apr 2022 19:12:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BA8B427BBE9 for ; Mon, 18 Apr 2022 19:12:45 +0100 (BST) Received: from localhost ([::1]:53446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngVrg-0002nR-VL for patchwork@mira.cbaines.net; Mon, 18 Apr 2022 14:12:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngVqA-0000s4-Q5 for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngVq2-0002rl-87 for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngVq2-0006Ih-2i for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55005] [PATCH 01/13] gnu: Add ghc-primes References: <87bkwyxo1f.fsf@thomaslabs.org> In-Reply-To: <87bkwyxo1f.fsf@thomaslabs.org> Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Apr 2022 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55005 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55005@debbugs.gnu.org Cc: Thomas Albers Received: via spool by 55005-submit@debbugs.gnu.org id=B55005.165030543124024 (code B ref 55005); Mon, 18 Apr 2022 18:11:01 +0000 Received: (at 55005) by debbugs.gnu.org; 18 Apr 2022 18:10:31 +0000 Received: from localhost ([127.0.0.1]:40679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngVpT-0006FM-UP for submit@debbugs.gnu.org; Mon, 18 Apr 2022 14:10:31 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:53654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngVpS-0006FD-86 for 55005@debbugs.gnu.org; Mon, 18 Apr 2022 14:10:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1650305425; bh=Mj7n0kpvGwZnZ0AZ0ptQhPoLLTpQqOVZN1mVShFjFSs=; h=date:subject:cc:to: from; d=thomaslabs.org; b=Mmsi9DcZ2iofxzB2OKKy7+phyEafbenVngAmMCidGk+O vnziQi+3OIqhD75BiadFoA4/GB9dHk/+WPZe9Lk/4qZ4gYzVMl3RlJiJJXHrQCRI/dC/eu ybEdqdR0XhcgZ0fbeJs7jdUviO4H7/YIkod6uRqiUhK92ApI6u7YCqUk/gR381lc2tXjEL zv7DDTRgJZ9PK8hekaunIiu57SsmUkwxZ64d9k7HqcOt9PwNKRZirQQ0BXHHLQeOQNUoIL N+Zn3AzwPkw2QFhpPdQFPt69ZYUmyxiJDri9Qkxp9Ev7njbpIwLPW1CO+spLUl2h9X1jV6 yQrAp1Z4U9GZEqzynQ== Received: from alpha.fritz.box (ip1f13c149.dynamic.kabel-deutschland.de [31.19.193.73]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 71e57ef8 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 18 Apr 2022 18:10:25 +0000 (UTC) Date: Mon, 18 Apr 2022 20:09:45 +0200 Message-Id: <20220418180957.19545-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches --- 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 ;;; Copyright © 2021 Alice BRENON ;;; Copyright © 2021 John Kehayias +;;; Copyright © 2022 Thomas Albers Raviola ;;; ;;; 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)))