1 {lib, stdenv, fetchurl, pam, openssl, db}:
3 stdenv.mkDerivation rec {
8 url = "https://www.padl.com/download/pam_ccreds-${version}.tar.gz";
9 sha256 = "1h7zyg1b1h69civyvrj95w22dg0y7lgw3hq4gqkdcg35w1y76fhz";
12 sed 's/-o root -g root//' -i Makefile.in
15 buildInputs = [ pam openssl db ];
18 homepage = "https://www.padl.com/OSS/pam_ccreds.html";
19 description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable";
20 mainProgram = "ccreds_chkpwd";
21 license = licenses.gpl2Only;
22 platforms = platforms.linux;