gnu: python2-ndg-httpsclient: Fix build.

This might be a follow-up to a39cc01632
from 2016, which would be neat.

* gnu/packages/python-web.scm (python2-ndg-httpsclient)[arguments]: Use
SUBSTITUTE-KEYWORD-ARGUMENTS to still skip tests.
master
Tobias Geerinckx-Rice 2018-04-26 22:00:15 +02:00
parent ae9877fed3
commit e3e74e4022
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 1 deletions

View File

@ -44,6 +44,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
@ -1024,7 +1025,9 @@ of the SSL peer.")
(define-public python2-ndg-httpsclient
(package (inherit python-ndg-httpsclient)
(name "python2-ndg-httpsclient")
(arguments `(#:python ,python-2))
(arguments
(substitute-keyword-arguments (package-arguments python-ndg-httpsclient)
((#:python _) python-2)))
(propagated-inputs
`(("python2-pyopenssl" ,python2-pyopenssl)))))