summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/compat/18.03/pass-otp/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-11-17 23:17:43 +0100
committerlassulus <lassulus@lassul.us>2020-11-17 23:17:43 +0100
commitd8bac1b3ad978108e35c01d4600293345aafea36 (patch)
treee5c73737fce5f0b16cc361355eae4cbb971edb5f /tv/5pkgs/compat/18.03/pass-otp/default.nix
parentb55c1126c291ca546da6ef2068a9e8413f814018 (diff)
parent5f3d66622940635b405fa1db2c6c76878ad4d167 (diff)
Merge remote-tracking branch 'ni/master' into 20.09
Diffstat (limited to 'tv/5pkgs/compat/18.03/pass-otp/default.nix')
-rw-r--r--tv/5pkgs/compat/18.03/pass-otp/default.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/tv/5pkgs/compat/18.03/pass-otp/default.nix b/tv/5pkgs/compat/18.03/pass-otp/default.nix
deleted file mode 100644
index 33411180a..000000000
--- a/tv/5pkgs/compat/18.03/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;
- };
-}