nixpkgs/pkgs/applications/misc/rofi/pass.nix

31 lines
802 B
Nix
Raw Normal View History

{ stdenv, fetchgit, rofi, wmctrl, xprop, xdotool}:
2015-05-29 16:41:13 +02:00
stdenv.mkDerivation rec {
name = "rofi-${version}";
version = "2015-05-29";
src = fetchgit {
url = "https://github.com/carnager/rofi-pass";
rev = "92c26557ec4b0508c563d596291571bbef402899";
sha256 = "17k9jmmckqaw75i0qsay2gc8mrjrs6jjfwfxaggspj912sflmjng";
};
buildInputs = [ rofi wmctrl xprop xdotool ];
2015-05-29 16:41:13 +02:00
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp -a $src/rofi-pass $out/bin/rofi-pass
mkdir -p $out/share/doc/rofi-pass/
cp -a $src/config.example $out/share/doc/rofi-pass/config.example
'';
meta = {
description = "A script to make rofi work with password-store";
2015-05-29 16:41:13 +02:00
homepage = https://github.com/carnager/rofi-pass;
2015-06-01 10:58:01 +02:00
maintainers = [stdenv.lib.maintainers.hiberno];
2015-05-29 16:41:13 +02:00
};
}