8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "0cpqrf3939hcvwg7sd8055ghc8x964ilimlri16czzx188a9jx9v";
19 buildInputs = [ oath-toolkit ];
24 sed -i -e 's|OATH=\$(which oathtool)|OATH=${oath-toolkit}/bin/oathtool|' otp.bash
29 "BASHCOMPDIR=$(out)/share/bash-completion/completions"
33 description = "Pass extension for managing one-time-password (OTP) tokens";
34 homepage = "https://github.com/tadfisher/pass-otp";
35 license = licenses.gpl3;
36 maintainers = with maintainers; [
41 platforms = platforms.unix;