packages: password-utils: Add tessen
parent
385ea82bcd
commit
923c681606
|
@ -0,0 +1,48 @@
|
|||
(define-module (radix packages password-utils)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages man)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix packages)
|
||||
#:use-module ((guix licenses)
|
||||
#:prefix license:))
|
||||
|
||||
(define-public tessen
|
||||
(package
|
||||
(name "tessen")
|
||||
(version "2.2.3")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ayushnix/tessen/")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0pxx3x50k1zi82vjvib94rar6sy5bz3s2amq4zyba6s1a8isqlcr"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f ;no tests
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-wtype-path
|
||||
(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")))))
|
||||
(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))
|
||||
(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
|
||||
from password-store and gopass files.")
|
||||
(license license:gpl2)))
|
Loading…
Reference in New Issue