mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-hiro: Fix tests.
* gnu/packages/python-check.scm (python-hiro): [source]: Switch to git-fetch. [native-inputs]: Add python-pytest, python-pytest-cov. Remove python-wheel. [description]: Improve style. Change-Id: I30447c5227e09b76708e2c075639c4e95a8f03ee Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
8408a2acd3
commit
f69c32a118
1 changed files with 14 additions and 9 deletions
|
@ -879,18 +879,23 @@ Built-in integration with @url{http://nedbatchelder.com/code/coverage/, coverage
|
||||||
(version "1.1.1")
|
(version "1.1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "hiro" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/alisaifee/hiro")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0s2xz72i7kbm0l75vr04cqq2war74p3p376wm76999f93npkjcys"))))
|
(base32 "0j7z54nd72qfc065jgljqx53dhfkfz0922fk8qqczg7swmqf6cqv"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs (list python-setuptools python-wheel))
|
(native-inputs
|
||||||
(home-page "https://hiro.readthedocs.io/")
|
(list python-pytest python-pytest-cov python-setuptools))
|
||||||
|
(home-page "https://hiro.readthedocs.io")
|
||||||
(synopsis "Time manipulation utilities for testing in Python")
|
(synopsis "Time manipulation utilities for testing in Python")
|
||||||
(description "Hiro provides context managers and utilities to either
|
(description
|
||||||
freeze, accelerate or decelerate and jump between different points in time.
|
"Hiro provides context managers and utilities to either freeze,
|
||||||
Functions exposed by the standard library’s @code{time}, @code{datetime} and
|
accelerate or decelerate and jump between different points in time. Functions
|
||||||
@code{date} modules are patched within the contexts exposed.")
|
exposed by the standard library’s @code{time}, @code{datetime} and @code{date}
|
||||||
|
modules are patched within the contexts exposed.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-httmock
|
(define-public python-httmock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue