guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: python2-validictory: Add missing input.


From: Efraim Flashner
Subject: 05/07: gnu: python2-validictory: Add missing input.
Date: Sun, 23 Oct 2016 04:47:27 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 7ca6830482d799677030c2e1631c54754f143808
Author: Efraim Flashner <address@hidden>
Date:   Sat Oct 22 22:25:10 2016 +0300

    gnu: python2-validictory: Add missing input.
    
    * gnu/packages/python.scm (python2-validictory)[native-inputs]: Add
    python2-setuptools.
    (python-validictory)[properties]: New field.
---
 gnu/packages/python.scm |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9019fc3..c3bb28a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11222,7 +11222,13 @@ is used by PostgreSQL and the OpenSSH Server for 
example.")
 The schema format is based on the JSON Schema
 proposal (http://json-schema.org), so combined with json the library is also
 useful as a validator for JSON data.")
-  (license license:expat)))
+  (license license:expat)
+  (properties `((python2-variant . ,(delay python2-validictory))))))
 
 (define-public python2-validictory
-    (package-with-python2 python-validictory))
+  (let ((base (package-with-python2
+               (strip-python2-variant python-validictory))))
+    (package
+      (inherit base)
+      (native-inputs `(("python2-setuptools" ,python2-setuptools)
+                       ,@(package-native-inputs base))))))



reply via email to

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