nixpkgs/pkgs/os-specific/linux/pam_krb5/default.nix
2020-04-12 17:43:53 -07:00

23 lines
776 B
Nix

{ stdenv, fetchurl, pam, kerberos }:
stdenv.mkDerivation rec {
name = "pam-krb5-4.9";
src = fetchurl {
url = "https://archives.eyrie.org/software/kerberos/${name}.tar.gz";
sha256 = "0kzz6mjkzw571pkv684vyczhl874f6p7lih3dj7s764gxdxnv4y5";
};
buildInputs = [ pam kerberos ];
meta = with stdenv.lib; {
homepage = "https://www.eyrie.org/~eagle/software/pam-krb5/";
description = "PAM module allowing PAM-aware applications to authenticate users by performing an AS exchange with a Kerberos KDC";
longDescription = ''
pam_krb5 can optionally convert Kerberos 5 credentials to Kerberos IV
credentials and/or use them to set up AFS tokens for a user's session.
'';
platforms = platforms.linux;
license = licenses.bsd3;
};
}