gnu: Add python-crontab.

* gnu/packages/python-xyz.scm (python-crontab): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Pradana Aumars 2021-09-14 08:56:02 +02:00 committed by Nicolas Goaziou
parent 4b48d1c4ea
commit 0bce8636e8
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -109,6 +109,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
;;;
;;; This file is part of GNU Guix.
;;;
@ -22434,6 +22435,28 @@ (define-public python-croniter
format.")
(license license:expat)))
(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
;; Comptability tests fail so they are disabled.
`(#:tests? #f))
(inputs
`(("python-dateutil" ,python-dateutil)))
(home-page "https://gitlab.com/doctormo/python-crontab/")
(synopsis "Module for reading and writing crontab files")
(description "This Python module can read, write crontab files, and
access the system cron automatically and simply using a direct API.")
(license license:lgpl3+)))
(define-public python-pylzma
(package
(name "python-pylzma")