rofi-pass: replace `util-linux` with `util-linuxMinimal` (#441977)

authored by isabelroses.com and committed by GitHub ff24bb34 a48b5f98

+12 -4
+12 -4
pkgs/tools/security/pass/rofi-pass.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - makeWrapper, 6 unstableGitUpdater, 7 coreutils, 8 - util-linux, 9 gnugrep, 10 libnotify, 11 pwgen, ··· 41 hash = "sha256-1lPNj47vTPLBK7mVm+PngV8C/ZsjJ2EN4ffXGU2TlQo="; 42 }; 43 44 - nativeBuildInputs = [ makeWrapper ]; 45 46 dontBuild = true; 47 48 installPhase = '' 49 mkdir -p $out/bin 50 cp -a rofi-pass $out/bin/rofi-pass 51 52 mkdir -p $out/share/doc/rofi-pass/ 53 cp -a config.example $out/share/doc/rofi-pass/config.example 54 ''; 55 56 wrapperPath = lib.makeBinPath ( ··· 63 libnotify 64 pwgen 65 rofi 66 - util-linux 67 ] 68 ++ lib.optionals (backend == "x11") [ 69 (pass.withExtensions (ext: [ ext.pass-otp ])) ··· 78 ); 79 80 fixupPhase = '' 81 patchShebangs $out/bin 82 83 wrapProgram $out/bin/rofi-pass \ ··· 86 --set-default ROFI_PASS_CLIPBOARD_BACKEND ${ 87 if backend == "wayland" then "wl-clipboard" else "xclip" 88 } 89 ''; 90 91 passthru.updateScript = unstableGitUpdater { };
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + makeBinaryWrapper, 6 unstableGitUpdater, 7 coreutils, 8 + util-linuxMinimal, 9 gnugrep, 10 libnotify, 11 pwgen, ··· 41 hash = "sha256-1lPNj47vTPLBK7mVm+PngV8C/ZsjJ2EN4ffXGU2TlQo="; 42 }; 43 44 + nativeBuildInputs = [ makeBinaryWrapper ]; 45 46 dontBuild = true; 47 48 installPhase = '' 49 + runHook preInstall 50 + 51 mkdir -p $out/bin 52 cp -a rofi-pass $out/bin/rofi-pass 53 54 mkdir -p $out/share/doc/rofi-pass/ 55 cp -a config.example $out/share/doc/rofi-pass/config.example 56 + 57 + runHook postInstall 58 ''; 59 60 wrapperPath = lib.makeBinPath ( ··· 67 libnotify 68 pwgen 69 rofi 70 + util-linuxMinimal 71 ] 72 ++ lib.optionals (backend == "x11") [ 73 (pass.withExtensions (ext: [ ext.pass-otp ])) ··· 82 ); 83 84 fixupPhase = '' 85 + runHook preFixup 86 + 87 patchShebangs $out/bin 88 89 wrapProgram $out/bin/rofi-pass \ ··· 92 --set-default ROFI_PASS_CLIPBOARD_BACKEND ${ 93 if backend == "wayland" then "wl-clipboard" else "xclip" 94 } 95 + 96 + runHook postFixup 97 ''; 98 99 passthru.updateScript = unstableGitUpdater { };