14 , extensions ? exts: []
18 wrapperPath = lib.makeBinPath [
27 (pass-wayland.withExtensions extensions)
30 stdenv.mkDerivation rec {
34 src = fetchFromGitHub {
35 owner = "schmidtandreas";
38 sha256 = "sha256-OtUz0YLKuEzA4kv+llrOll0L84nMTkYH6JPxrkQKB6I=";
41 nativeBuildInputs = [ makeWrapper ];
46 install -Dm755 wofi-pass -t $out/bin
47 install -Dm755 wofi-pass.conf -t $out/share/doc/wofi-pass/wofi-pass.conf
51 patchShebangs $out/bin
53 wrapProgram $out/bin/wofi-pass \
54 --prefix PATH : "${wrapperPath}"
58 description = "Script to make wofi work with password-store";
59 homepage = "https://github.com/schmidtandreas/wofi-pass";
60 maintainers = with lib.maintainers; [ akechishiro ];
61 license = lib.licenses.gpl2Plus;
62 platforms = with lib.platforms; linux;
63 mainProgram = "wofi-pass";