guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] gnu: Add pip.


From: Cyril Roelandt
Subject: [PATCH 2/2] gnu: Add pip.
Date: Wed, 12 Feb 2014 00:04:46 +0100

* gnu/packages/python.scm (python-pip, python2-pip): New variables.
---
 gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7e28eda..6144925 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -198,6 +198,36 @@ data types.")
      "\n\nThis wrapper package provides symbolic links to the python binaries
       without version suffix."))))
 
+(define-public python-pip
+  (package
+    (name "python-pip")
+    (version "1.5.2")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append
+            "https://pypi.python.org/packages/source/p/pip/pip-";
+            version ".tar.gz"))
+      (sha256
+       (base32
+        "0f7p6c2z78fcawri2y8aa8r3rzzq06zn94mkvc7a9lsjwq43x2ia"))))
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; The tests try to access the Internet.
+    (home-page "http://www.pip-installer.org";)
+    (synopsis "A tool for installing and managing Python packages.")
+    (description
+     "pip is a replacement for easy_install, and is intended to be an improved
+Python package installer.  It integrates with virtualenv, doesn't do partial
+installs, can save package state for replaying, can install from non-egg
+sources, and can install from version control repositories.")
+    (license x11)))
+
+(define-public python2-pip
+  (package-with-python2 python-pip))
+
 (define-public python-virtualenv
   (package
     (name "python-virtualenv")
-- 
1.8.4.rc3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]