[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: Add python2-atomicwrites.
From: |
Leo Famulari |
Subject: |
01/05: gnu: Add python2-atomicwrites. |
Date: |
Sun, 13 Mar 2016 22:52:49 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit 9bb6d18482429ffbe88788c982c92477561e2fdc
Author: Leo Famulari <address@hidden>
Date: Thu Jan 28 00:42:33 2016 -0500
gnu: Add python2-atomicwrites.
* gnu/packages/python.scm (python2-atomicwrites): New variable.
---
gnu/packages/python.scm | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a44c8ea..916931e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6756,7 +6756,14 @@ WebSocket usage in Python programs.")
(description "Library for atomic file writes using platform dependent tools
for atomic filesystem operations.")
(home-page "https://github.com/untitaker/python-atomicwrites";)
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-atomicwrites))))))
+
+(define-public python2-atomicwrites
+ (package (inherit (package-with-python2
+ (strip-python2-variant python-atomicwrites)))
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)))))
(define-public python-requests-toolbelt
(package