gnu: python2-validictory: Add missing input.

* gnu/packages/python.scm (python2-validictory)[native-inputs]: Add
python2-setuptools.
(python-validictory)[properties]: New field.
This commit is contained in:
Efraim Flashner 2016-10-22 22:25:10 +03:00
parent ff1e2b59bf
commit 7ca6830482
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 8 additions and 2 deletions

View File

@ -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))))))