diff options
Diffstat (limited to 'pkgs/tools/security/oath-toolkit/default.nix')
-rw-r--r-- | pkgs/tools/security/oath-toolkit/default.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/tools/security/oath-toolkit/default.nix b/pkgs/tools/security/oath-toolkit/default.nix deleted file mode 100644 index 1e5b418c3f46..000000000000 --- a/pkgs/tools/security/oath-toolkit/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ lib, stdenv, fetchurl, nix-update-script, pam, xmlsec }: - -let - # TODO: Switch to OpenPAM once https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/26 is addressed upstream - securityDependency = - if stdenv.isDarwin then xmlsec - else pam; - -in stdenv.mkDerivation rec { - pname = "oath-toolkit"; - version = "2.6.11"; - - src = fetchurl { - url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz"; - sha256 = "sha256-/FEqSltG9MQ6sFhsMYn+zk1U9+ZJOX1voeI0KEMeLLQ="; - }; - - buildInputs = [ securityDependency ]; - - configureFlags = lib.optionals stdenv.isDarwin [ "--disable-pam" ]; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "Components for building one-time password authentication systems"; - homepage = "https://www.nongnu.org/oath-toolkit/"; - maintainers = with maintainers; [ schnusch ]; - platforms = with platforms; linux ++ darwin; - mainProgram = "oathtool"; - }; -} |