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-otp | |
parent | a426bfd1bda89cc1af901f6196a323d7be4e4865 (diff) |
pass{,-otp}: init from tv
Diffstat (limited to 'tv/5pkgs/simple/pass-otp')
-rw-r--r-- | tv/5pkgs/simple/pass-otp/default.nix | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tv/5pkgs/simple/pass-otp/default.nix b/tv/5pkgs/simple/pass-otp/default.nix deleted file mode 100644 index 33411180a..000000000 --- a/tv/5pkgs/simple/pass-otp/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ stdenv, fetchFromGitHub, oathToolkit }: -stdenv.mkDerivation rec { - name = "pass-otp-${version}"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "tadfisher"; - repo = "pass-otp"; - rev = "v${version}"; - sha256 = "1cgj4zc8fq88n3h6c0vkv9i5al785mdprpgpbv5m22dz9p1wqvbb"; - }; - - buildInputs = [ oathToolkit ]; - - patchPhase = '' - sed -i -e 's|OATH=\$(which oathtool)|OATH=${oathToolkit}/bin/oathtool|' otp.bash - ''; - - 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 tadfisher ]; - platforms = platforms.unix; - }; -} |