M gnu/packages/crypto.scm => gnu/packages/crypto.scm +14 -13
@@ 1378,19 1378,20 @@ API.")
(name "python-olm")
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'chdir
- (lambda _
- (chdir "python")))
- (add-before 'build 'set-preprocessor
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "CPP" "gcc -E")))
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "python")))
+ (add-before 'build 'set-preprocessor
+ (lambda _
+ (setenv "CPP" "gcc -E")))
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest")))))))
(inputs (list olm))
(propagated-inputs
(list python-cffi python-future))