From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 3/5] gnu: Add python-monotonic.
Date: Wed, 9 Sep 2015 01:34:22 +0200 [thread overview]
Message-ID: <1441755264-6790-3-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1441755264-6790-1-git-send-email-tipecaml@gmail.com>
* gnu/packages/python.scm (python-monotonic, python2-monotonic): New variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4111596..5f4e9ae 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4826,3 +4826,30 @@ reading and writing MessagePack data.")
(define-public python2-iso8601
(package-with-python2 python-iso8601))
+
+(define-public python-monotonic
+ (package
+ (name "python-monotonic")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/m/monotonic/monotonic-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0yz0bcbwx8r2c01czzfpbrxddynxyk9k95jj8h6sgcb7xmfvl998"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/atdt/monotonic")
+ (synopsis "Implementation of time.monotonic() for Python 2 & < 3.3")
+ (description
+ "This module provides a monotonic() function which returns the value (in
+ fractional seconds) of a clock which never goes backwards.")
+ (license asl2.0)))
+
+(define-public python2-monotonic
+ (package-with-python2 python-monotonic))
--
2.1.4
next prev parent reply other threads:[~2015-09-08 23:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 23:34 [PATCH 1/5] gnu: Add python-wrapt Cyril Roelandt
2015-09-08 23:34 ` [PATCH 2/5] gnu: Add python-iso8601 Cyril Roelandt
2015-09-13 9:45 ` Ludovic Courtès
2015-09-08 23:34 ` Cyril Roelandt [this message]
2015-09-13 9:46 ` [PATCH 3/5] gnu: Add python-monotonic Ludovic Courtès
2015-09-08 23:34 ` [PATCH 4/5] gnu: Add python-debtcollector Cyril Roelandt
2015-09-13 9:49 ` Ludovic Courtès
2015-09-08 23:34 ` [PATCH 5/5] gnu: Add python-oslo.utils Cyril Roelandt
2015-09-13 9:50 ` Ludovic Courtès
2015-09-13 9:44 ` [PATCH 1/5] gnu: Add python-wrapt Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441755264-6790-3-git-send-email-tipecaml@gmail.com \
--to=tipecaml@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.