{ fetchFromGitHub, lib, stdenv, }: stdenv.mkDerivation { pname = "pass-tail"; version = "master-20220426"; src = fetchFromGitHub { repo = "pass-extension-tail"; owner = "palortoff"; rev = "e8455bc0ada9b25722d2826063b1dfdc521d5b24"; hash = "sha256-62jTEbNuNZr6g6zvqUdfeseGNnn8Z1s3cY7i5U+a4PU="; }; installPhase = '' runHook preInstall make install PREFIX=$out BASHCOMPDIR=$out/share/bash-completion/completions runHook postInstall ''; }