From 7ca6830482d799677030c2e1631c54754f143808 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 22 Oct 2016 22:25:10 +0300 Subject: [PATCH] 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 9019fc3b35..c3bb28af56 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))))))