diff options
author | tv <tv@krebsco.de> | 2018-04-10 22:06:03 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-04-10 22:06:03 +0200 |
commit | 68ceb8df1318a87f0b121eda5a2a29eab360d578 (patch) | |
tree | 53cae84d294f43a0b0a7f1fe7accf0e678a674aa /tv/5pkgs/simple/pass/rofi-pass.nix | |
parent | a426bfd1bda89cc1af901f6196a323d7be4e4865 (diff) |
pass{,-otp}: init from tv
Diffstat (limited to 'tv/5pkgs/simple/pass/rofi-pass.nix')
-rw-r--r-- | tv/5pkgs/simple/pass/rofi-pass.nix | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/tv/5pkgs/simple/pass/rofi-pass.nix b/tv/5pkgs/simple/pass/rofi-pass.nix deleted file mode 100644 index 61f51973e..000000000 --- a/tv/5pkgs/simple/pass/rofi-pass.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ stdenv, fetchFromGitHub, pass, rofi, coreutils, utillinux, xdotool, gnugrep -, libnotify, pwgen, findutils, gawk, gnused, xclip, makeWrapper -}: - -stdenv.mkDerivation rec { - name = "rofi-pass-${version}"; - version = "1.5.3"; - - src = fetchFromGitHub { - owner = "carnager"; - repo = "rofi-pass"; - rev = version; - sha256 = "1fn1j2rf3abc5qb44zfc8z8ffw6rva4xfp7597hwr1g3szacazpq"; - }; - - buildInputs = [ makeWrapper ]; - - dontBuild = true; - - installPhase = '' - mkdir -p $out/bin - cp -a rofi-pass $out/bin/rofi-pass - - mkdir -p $out/share/doc/rofi-pass/ - cp -a config.example $out/share/doc/rofi-pass/config.example - ''; - - wrapperPath = with stdenv.lib; makeBinPath [ - coreutils - findutils - gawk - gnugrep - gnused - libnotify - pass - pwgen - rofi - utillinux - xclip - xdotool - ]; - - fixupPhase = '' - patchShebangs $out/bin - - wrapProgram $out/bin/rofi-pass \ - --prefix PATH : "${wrapperPath}" - ''; - - meta = { - description = "A script to make rofi work with password-store"; - homepage = https://github.com/carnager/rofi-pass; - maintainers = with stdenv.lib.maintainers; [ the-kenny garbas ]; - license = stdenv.lib.licenses.gpl3; - platforms = with stdenv.lib.platforms; linux; - }; -} |