gnu: docker-compose: Add required Python dependencies.
* gnu/packages/python-xyz.scm (python-jsonschema-2.6): New old public variable. * gnu/packages/docker.scm (docker-compose)[inputs]: Add python-docker-pycreds and use python-jsonschema-2.6.
This commit is contained in:
parent
10a3297389
commit
914bba2809
|
@ -91,6 +91,8 @@ pseudo-terminal (PTY) allocated to a Docker container using the Python
|
|||
client.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
;; When updating, check whether python-jsonschema-2.6 can be removed from Guix
|
||||
;; entirely.
|
||||
(define-public docker-compose
|
||||
(package
|
||||
(name "docker-compose")
|
||||
|
@ -107,9 +109,10 @@ client.")
|
|||
(arguments '(#:tests? #f))
|
||||
(inputs
|
||||
`(("python-docker-py" ,python-docker-py)
|
||||
("python-docker-pycreds" ,python-docker-pycreds)
|
||||
("python-dockerpty" ,python-dockerpty)
|
||||
("python-docopt" ,python-docopt)
|
||||
("python-jsonschema" ,python-jsonschema)
|
||||
("python-jsonschema" ,python-jsonschema-2.6)
|
||||
("python-pyyaml" ,python-pyyaml)
|
||||
("python-requests" ,python-requests-2.7)
|
||||
("python-six" ,python-six)
|
||||
|
|
|
@ -1966,6 +1966,32 @@ between Julian dates and Gregorian dates.")
|
|||
`(("python2-functools32" ,python2-functools32)
|
||||
,@(package-propagated-inputs jsonschema))))))
|
||||
|
||||
;; This old version is still required by docker-compose as of 1.24.0.
|
||||
(define-public python-jsonschema-2.6
|
||||
(package
|
||||
(name "python-jsonschema")
|
||||
(version "2.6.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jsonschema" version))
|
||||
(sha256
|
||||
(base32
|
||||
"00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check (lambda _ (invoke "nosetests"))))))
|
||||
(native-inputs
|
||||
`(("python-nose" ,python-nose)
|
||||
("python-vcversioner" ,python-vcversioner)))
|
||||
(home-page "https://github.com/Julian/jsonschema")
|
||||
(synopsis "Implementation of JSON Schema for Python")
|
||||
(description
|
||||
"Jsonschema is an implementation of JSON Schema for Python.")
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-jsonschema))))))
|
||||
|
||||
(define-public python-schema
|
||||
(package
|
||||
(name "python-schema")
|
||||
|
|
Loading…
Reference in New Issue