aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-01-28 00:42:33 -0500
committerLeo Famulari <leo@famulari.name>2016-03-13 18:52:30 -0400
commit9bb6d18482429ffbe88788c982c92477561e2fdc (patch)
treeb776631ca7c071be90d4091bbaccf4b2b6c14358 /gnu
parentaae6b4b9a98a5b183aa5bd3a5850ecca609fdc92 (diff)
downloadguix-9bb6d18482429ffbe88788c982c92477561e2fdc.tar
guix-9bb6d18482429ffbe88788c982c92477561e2fdc.tar.gz
gnu: Add python2-atomicwrites.
* gnu/packages/python.scm (python2-atomicwrites): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a44c8ea8d0..916931e2da 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