depot/third_party/nixpkgs/pkgs/os-specific/linux/pam_ccreds/default.nix
Default email 8d28093ffb Project import generated by Copybara.
GitOrigin-RevId: 31ffc50c571e6683e9ecc9dbcbd4a8e9914b4497
2021-09-26 14:46:18 +02:00

23 lines
651 B
Nix

{lib, stdenv, fetchurl, pam, openssl, db}:
stdenv.mkDerivation rec {
pname = "pam_ccreds";
version = "10";
src = fetchurl {
url = "https://www.padl.com/download/pam_ccreds-${version}.tar.gz";
sha256 = "1h7zyg1b1h69civyvrj95w22dg0y7lgw3hq4gqkdcg35w1y76fhz";
};
patchPhase = ''
sed 's/-o root -g root//' -i Makefile.in
'';
buildInputs = [ pam openssl db ];
meta = with lib; {
homepage = "https://www.padl.com/OSS/pam_ccreds.html";
description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable";
license = licenses.gpl2;
platforms = platforms.linux;
};
}