Skip to content

Commit

Permalink
pass-otp: New expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Jan 3, 2018
1 parent e8caa47 commit 75634af
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/tools/security/pass-otp/default.nix
@@ -0,0 +1,25 @@
{ stdenv, pass, fetchFromGitHub }:
stdenv.mkDerivation {
name = "pass-otp";

src = fetchFromGitHub {
owner = "tadfisher";
repo = "pass-otp";
rev = "f2feb3082324a91089782af9b7fbb71d34aa213d";
sha256 = "0iklvcfgw1320dggdr02lq3bc7xvnd2934l1w9kkjpbsfmhs955c";
};

buildInputs = [ pass ];

installPhase = ''
make PREFIX=$out install
'';

meta = with stdenv.lib; {
description = "A pass extension for managing one-time-password (OTP) tokens";
homepage = https://github.com/tadfisher/pass-otp;
license = licenses.gpl3;
maintainers = with maintainers; [ jwiegley ];
platforms = platforms.unix;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -626,6 +626,7 @@ with pkgs;
lastpass-cli = callPackage ../tools/security/lastpass-cli { };

pass = callPackage ../tools/security/pass { };
pass-otp = callPackage ../tools/security/pass-otp { };

gopass = callPackage ../tools/security/gopass { };

Expand Down

0 comments on commit 75634af

Please sign in to comment.