@@ -875,20 +875,20 @@ (define-public tessen
#f ;no tests
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'patch-wtype-path
+ (add-after 'install 'wrap
(lambda* (#:key inputs #:allow-other-keys)
- (substitute* "tessen"
- (("notify-send") (search-input-file inputs
- "/bin/notify-send"))
- (("wl-copy") (search-input-file inputs "/bin/wl-copy"))
- (("wtype") (search-input-file inputs "/bin/wtype"))
- (("xdg-open") (search-input-file inputs "/bin/xdg-open")))))
+ (wrap-script (string-append #$output "/bin/tessen")
+ `("PATH" suffix
+ ,(map (lambda (program)
+ (dirname (search-input-file
+ inputs (string-append "/bin/" program))))
+ '("notify-send" "wl-copy" "wtype" "xdg-open"))))))
(delete 'configure)) ;no configure script
#:make-flags
#~(list (string-append "DESTDIR=" #$output)
"PREFIX=''")))
(native-inputs (list scdoc))
- (inputs (list libnotify wl-clipboard wtype xdg-utils))
+ (inputs (list guile-3.0 libnotify wl-clipboard wtype xdg-utils))
(home-page "https://github.com/ayushnix/tessen")
(synopsis "Frontend for password-store and gopass")
(description "Tessen is a bash script that can autotype and copy data