1 { lib, stdenv, fetchFromGitHub, pass, rofi, coreutils, util-linux, xdotool, gnugrep
2 , libnotify, pwgen, findutils, gawk, gnused, xclip, makeWrapper
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
13 sha256 = "131jpcwyyzgzjn9lx4k1zn95pd68pjw4i41jfzcp9z9fnazyln5n";
16 nativeBuildInputs = [ makeWrapper ];
22 cp -a rofi-pass $out/bin/rofi-pass
24 mkdir -p $out/share/doc/rofi-pass/
25 cp -a config.example $out/share/doc/rofi-pass/config.example
28 wrapperPath = with lib; makeBinPath [
35 (pass.withExtensions (ext: [ ext.pass-otp ]))
44 patchShebangs $out/bin
46 wrapProgram $out/bin/rofi-pass \
47 --prefix PATH : "${wrapperPath}"
51 description = "A script to make rofi work with password-store";
52 homepage = "https://github.com/carnager/rofi-pass";
53 license = lib.licenses.gpl3;
54 platforms = with lib.platforms; linux;