@@ -881,13 +881,24 @@ include cursor in the resulting image.")
(sha256
(base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz"))))
(build-system meson-build-system)
- ;; One test fails where the program does not exit cleanly given a bad
- ;; setup. Not ideal but probably safe to ignore. Check that no other tests
- ;; fail before bumping the version. If all tests pass, remove this.
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'check))))
+ (add-after 'unpack 'fix-sleep-path
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (coreutils (assoc-ref inputs "coreutils")))
+ (substitute* "./test/startup_failure.py"
+ (("sleep")
+ (string-append coreutils "/bin/sleep")))
+ #t))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("scdoc" ,scdoc)))
+ (inputs
+ ;; For tests
+ `(("python" ,python)
+ ("coreutils" ,coreutils)))
(home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
(synopsis "Proxy for Wayland protocol applications")
(description "Waypipe is a proxy for Wayland clients, with the aim of