summaryrefslogtreecommitdiff
path: root/gnu/packages/time.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-13 17:18:24 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-13 17:48:25 +0100
commit8394619baceb118df92e355377fd543bb1aa501a (patch)
tree504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/time.scm
parentaca2defe0172868295941fd9f0e97886f6e9b2d4 (diff)
gnu: Simplify package inputs.
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
Diffstat (limited to 'gnu/packages/time.scm')
-rw-r--r--gnu/packages/time.scm52
1 files changed, 23 insertions, 29 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 9f729ec0a5..728f5ebce7 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -86,7 +86,7 @@ to a file.")
(base32
"02kaambsgpjx3zi42j6l11rwms2p35b9hsk4f3kdf979gd3kcqg8"))))
(native-inputs
- `(("python-nose" ,python-nose)))
+ (list python-nose))
(build-system python-build-system)
(home-page "https://github.com/wroberts/pytimeparse")
(synopsis "Time expression parser")
@@ -110,7 +110,7 @@ expressions.")
;; repository lacks a setup.py! How to build from git?
(arguments '(#:tests? #f))
(propagated-inputs
- `(("python-cleo" ,python-cleo)))
+ (list python-cleo))
(home-page "https://github.com/sdispater/pytzdata")
(synopsis "Timezone database for Python")
(description
@@ -159,8 +159,7 @@ saving time. Almost all of the Olson timezones are supported.")
;; lacks a setup.py!
(arguments '(#:tests? #f))
(propagated-inputs
- `(("python-dateutil" ,python-dateutil)
- ("python-pytzdata" ,python-pytzdata)))
+ (list python-dateutil python-pytzdata))
(home-page "https://github.com/sdispater/pendulum")
(synopsis "Alternate API for Python datetimes")
(description "Pendulum is a drop-in replacement for the standard
@@ -195,11 +194,9 @@ Pendulum instances.")
(invoke "pytest" "-vv"))))))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("python-pytest-cov" ,python-pytest-cov)
- ("python-setuptools-scm" ,python-setuptools-scm)))
+ (list python-pytest python-pytest-cov python-setuptools-scm))
(propagated-inputs
- `(("python-six" ,python-six)))
+ (list python-six))
(home-page "https://dateutil.readthedocs.io/en/stable/")
(synopsis "Extensions to the standard datetime module")
(description
@@ -226,12 +223,9 @@ datetime module, available in Python 2.3+.")
"0jxqkjks7z9dn222cqgvskp4wr6d92aglinxq7pd2w4mzdc7r09x"))))
(build-system python-build-system)
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-pyicu" ,python-pyicu)
- ("python-pytest" ,python-pytest)
- ("python-pytest-runner" ,python-pytest-runner)))
+ (list python-nose python-pyicu python-pytest python-pytest-runner))
(propagated-inputs
- `(("python-future" ,python-future)))
+ (list python-future))
(home-page "https://github.com/bear/parsedatetime/")
(synopsis "Parse human-readable date/time text")
(description
@@ -260,7 +254,7 @@ datetime module, available in Python 2.3+.")
;; Pytz should only be required for Python 2, but the test suite fails
;; without it.
(native-inputs
- `(("python-pytz" ,python-pytz)))
+ (list python-pytz))
(home-page "https://github.com/closeio/ciso8601")
(synopsis
"Fast ISO8601 date time parser")
@@ -295,9 +289,9 @@ Python datetime objects.")
(("def test_fail") "def _test_fail"))
#t)))))
(propagated-inputs
- `(("python-pytz" ,python-pytz)))
+ (list python-pytz))
(native-inputs
- `(("python-mock" ,python-mock)))
+ (list python-mock))
(home-page "https://github.com/regebro/tzlocal")
(synopsis "Local timezone information for Python")
(description
@@ -320,7 +314,7 @@ under several distributions that's hard or impossible to figure out.")
"1n7jkz68kk5pwni540pr5zdh99bf6ywydk1p5pdrqisrawylldif"))))
(build-system python-build-system)
(native-inputs
- `(("python-six" ,python-six)))
+ (list python-six))
(home-page "https://github.com/gweis/isodate/")
(synopsis "Python date parser and formatter")
(description
@@ -349,7 +343,7 @@ ISO 8601 dates, time and duration.")
(lambda _
(invoke "pytest" "-vv" "iso8601"))))))
(native-inputs
- `(("python-pytest" ,python-pytest)))
+ (list python-pytest))
(home-page "https://bitbucket.org/micktwomey/pyiso8601")
(synopsis "Module to parse ISO 8601 dates")
(description
@@ -396,9 +390,9 @@ value (in fractional seconds) of a clock which never goes backwards.")
"06jv7ar7lpvvk0dixzwdr3wgm0g1lipxs429s2z7knwwa7hwpf41"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-pytz" ,python-pytz)))
+ (list python-pytz))
(native-inputs
- `(("python-nose" ,python-nose)))
+ (list python-nose))
(home-page "https://github.com/kurtraschke/pyRFC3339")
(synopsis "Python timestamp library")
(description "Python library for generating and parsing RFC 3339-compliant
@@ -430,15 +424,15 @@ timestamps.")
;; Remove when python-dateutil > 2.8.1.
"-k" "not test_parse_tz_name_zzz")))))))
(native-inputs
- `(;; For testing
- ("python-chai" ,python-chai)
- ("python-pytest" ,python-pytest)
- ("python-pytest-cov" ,python-pytest-cov)
- ("python-pytest-mock" ,python-pytest-mock)
- ("python-pytz" ,python-pytz)
- ("python-simplejson" ,python-simplejson)))
+ (list ;; For testing
+ python-chai
+ python-pytest
+ python-pytest-cov
+ python-pytest-mock
+ python-pytz
+ python-simplejson))
(propagated-inputs
- `(("python-dateutil" ,python-dateutil)))
+ (list python-dateutil))
(home-page "https://github.com/arrow-py/arrow")
(synopsis "Dates and times for Python")
(description
@@ -501,7 +495,7 @@ datetime type.")
#t))
(delete 'configure))))
(native-inputs
- `(("perl" ,perl)))
+ (list perl))
(home-page "https://salsa.debian.org/debian/datefudge")
(synopsis "Pretend the system date is different")
(description