guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python2-pycrypto: Use python2.


From: Efraim Flashner
Subject: 01/01: gnu: python2-pycrypto: Use python2.
Date: Mon, 30 Nov 2015 17:06:21 +0000

efraim pushed a commit to branch master
in repository guix.

commit 1c0059da41b4c0c0525ca75c5631f04495126814
Author: Efraim Flashner <address@hidden>
Date:   Mon Nov 30 17:42:53 2015 +0200

    gnu: python2-pycrypto: Use python2.
    
    * gnu/packages/python.scm (python2-pycrypto)[inputs]: Force building
    with python2.
---
 gnu/packages/python.scm |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 39d0751..d69c722 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -826,7 +826,13 @@ etc.).  The package is structured to make adding new 
modules easy.")
     (license public-domain)))
 
 (define-public python2-pycrypto
-  (package-with-python2 python-pycrypto))
+  (let ((pycrypto (package-with-python2 python-pycrypto)))
+    (package (inherit pycrypto)
+      (inputs
+       `(("python" ,python-2)
+         ,@(alist-delete
+            "python"
+            (package-inputs pycrypto)))))))
 
 (define-public python-keyring
   (package



reply via email to

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