unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50397] [PATCH] gnu: Add python-crontab
@ 2021-09-05  7:57 Pradana Adrinusa AUMARS via Guix-patches via
  2021-09-05 13:29 ` Xinglu Chen
  2021-09-05 15:58 ` [bug#50397] [PATCH] " Pradana Adrinusa AUMARS via Guix-patches via
  0 siblings, 2 replies; 6+ messages in thread
From: Pradana Adrinusa AUMARS via Guix-patches via @ 2021-09-05  7:57 UTC (permalink / raw)
  To: 50397

From 1a41d362dd97eae4c236c689bea871d0512c2f4d Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <paumars@courrier.dev>
Date: Sun, 5 Sep 2021 09:46:58 +0200
Subject: [PATCH] gnu: Add python-crontab

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c70829de9..bbc5bad51c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -108,6 +108,7 @@
 ;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr>
 ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
 ;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26556,3 +26557,25 @@ files and directories and adds a datestamp in standard ISO 8601+ format
 YYYY-MM-DD at the beginning of the file or directory name.")
       (home-page "https://github.com/novoid/date2name")
       (license license:gpl3+))))
+
+(define-public python-crontab
+  (package
+   (name "python-crontab")
+   (version "2.5.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri name version))
+     (sha256
+      (base32
+       "0cccrqc10r8781ba81x8r2frs3pl2m4hkm599k5358ak0xr7xgjb"))))
+   (build-system python-build-system)
+   (arguments
+    `(#:tests? #f))
+   (native-inputs
+    `(("python-dateutil" ,python-dateutil)))
+   (synopsis "Module for reading and writing crontab files")
+   (description "Crontab module for reading and writing crontab files and accessing the 
+system cron automatically and simply using a direct API.")
+   (home-page "https://gitlab.com/doctormo/python-crontab/")
+   (license license:lgpl3+)))
-- 
2.33.0






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

end of thread, other threads:[~2021-09-14  6:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-05  7:57 [bug#50397] [PATCH] gnu: Add python-crontab Pradana Adrinusa AUMARS via Guix-patches via
2021-09-05 13:29 ` Xinglu Chen
2021-09-05 15:57   ` Pradana Adrinusa AUMARS via Guix-patches via
2021-09-05 15:58 ` [bug#50397] [PATCH] " Pradana Adrinusa AUMARS via Guix-patches via
2021-09-06 10:59   ` Xinglu Chen
2021-09-14  6:56   ` Nicolas Goaziou

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).