[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: Add python-monotonic.
From: |
Cyril Roelandt |
Subject: |
06/08: gnu: Add python-monotonic. |
Date: |
Sun, 13 Sep 2015 22:51:30 +0000 |
steap pushed a commit to branch master
in repository guix.
commit 5e412b6383fbdceb971d940ecb534f187a59a443
Author: Cyril Roelandt <address@hidden>
Date: Wed Sep 9 00:51:45 2015 +0200
gnu: Add python-monotonic.
* gnu/packages/python.scm (python-monotonic, python2-monotonic): New
variables.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 85ab88c..c58d7f3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4826,3 +4826,30 @@ and MAC network addresses.")
(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))
- branch master updated (59ef203 -> 27cc9f2), Cyril Roelandt, 2015/09/13
- 01/08: gnu: Add python-netaddr., Cyril Roelandt, 2015/09/13
- 02/08: gnu: Add python-stevedore., Cyril Roelandt, 2015/09/13
- 03/08: gnu: Add python-oslo.config., Cyril Roelandt, 2015/09/13
- 04/08: gnu: Add python-wrapt, Cyril Roelandt, 2015/09/13
- 05/08: gnu: Add python-iso8601., Cyril Roelandt, 2015/09/13
- 06/08: gnu: Add python-monotonic.,
Cyril Roelandt <=
- 07/08: gnu: Add python-debtcollector., Cyril Roelandt, 2015/09/13
- 08/08: gnu: Add python-oslo.utils., Cyril Roelandt, 2015/09/13