unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47933] [PATCH] gnu: Add python-crcmod.
@ 2021-04-21 13:38 Roel Janssen
  2021-11-03 10:09 ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Roel Janssen @ 2021-04-21 13:38 UTC (permalink / raw)
  To: 47933

[-- Attachment #1: Type: text/plain, Size: 73 bytes --]

Hi Guix,

Here's a patch for python-crcmod.

Kind regards,
Roel Janssen


[-- Attachment #2: 0001-gnu-Add-python-crcmod.patch --]
[-- Type: text/x-patch, Size: 1504 bytes --]

From 61fbb10be87a4d52a8a2a1328102e8f9c41b8726 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 21 Apr 2021 15:36:55 +0200
Subject: [PATCH] gnu: Add python-crcmod.

* gnu/packages/python-xyz.scm (python-crcmod): New variable.
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5cf0b61c68..823d82cea7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -355,6 +355,25 @@ implementation for the Telegram Bot API.")
 with Python's logging module that outputs records using terminal colors.")
     (license license:expat)))
 
+(define-public python-crcmod
+  (package
+    (name "python-crcmod")
+    (version "1.7")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "crcmod" version))
+              (sha256
+               (base32
+                "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w"))))
+    (build-system python-build-system)
+    (home-page "http://crcmod.sourceforge.net/")
+    (synopsis "CRC generator for Python")
+    (description "The software in this package provides a Python module for
+generating objects that compute the Cyclic Redundancy Check (CRC). It includes
+a (optional) C extension for fast calculation, as well as a pure Python
+implementation.")
+    (license license:expat)))
+
 (define-public python-pyprind
   (package
     (name "python-pyprind")
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#47933] [PATCH] gnu: Add python-crcmod.
  2021-04-21 13:38 [bug#47933] [PATCH] gnu: Add python-crcmod Roel Janssen
@ 2021-11-03 10:09 ` zimoun
  2023-05-29 11:06   ` bug#47933: " Jelle Licht
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2021-11-03 10:09 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 47933

Hi Roel,

On Wed, 21 Apr 2021 at 15:38, Roel Janssen <roel@gnu.org> wrote:

>>From 61fbb10be87a4d52a8a2a1328102e8f9c41b8726 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 21 Apr 2021 15:36:55 +0200
> Subject: [PATCH] gnu: Add python-crcmod.
>
> * gnu/packages/python-xyz.scm (python-crcmod): New variable.
> ---
>  gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)

I have not applied this patch myself but it LGTM.  If it builds and
“guix lint” does not report nothing blocking, feel free to push. :-)

Cheers,
simon




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#47933: [PATCH] gnu: Add python-crcmod.
  2021-11-03 10:09 ` zimoun
@ 2023-05-29 11:06   ` Jelle Licht
  0 siblings, 0 replies; 3+ messages in thread
From: Jelle Licht @ 2023-05-29 11:06 UTC (permalink / raw)
  To: 47933-done; +Cc: Roel Janssen, zimoun

zimoun <zimon.toutoune@gmail.com> writes:

> Hi Roel,
>
> On Wed, 21 Apr 2021 at 15:38, Roel Janssen <roel@gnu.org> wrote:
>
>>>>From 61fbb10be87a4d52a8a2a1328102e8f9c41b8726 Mon Sep 17 00:00:00 2001
>> From: Roel Janssen <roel@gnu.org>
>> Date: Wed, 21 Apr 2021 15:36:55 +0200
>> Subject: [PATCH] gnu: Add python-crcmod.
>>
>> * gnu/packages/python-xyz.scm (python-crcmod): New variable.
>> ---
>>  gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
>>  1 file changed, 19 insertions(+)
>
> I have not applied this patch myself but it LGTM.  If it builds and
> “guix lint” does not report nothing blocking, feel free to push. :-)
>
> Cheers,
> simon

Superseded by commit 36ea29115cd, which was merged into master recently.
Closing.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-29 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 13:38 [bug#47933] [PATCH] gnu: Add python-crcmod Roel Janssen
2021-11-03 10:09 ` zimoun
2023-05-29 11:06   ` bug#47933: " Jelle Licht

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).