1 { lib, stdenv, fetchurl, pam, openssl, zlib }:
3 stdenv.mkDerivation rec {
8 url = "https://dl.duosecurity.com/duo_unix-${version}.tar.gz";
9 sha256 = "sha256-7huWd71SdnTe1ef8OoHgQKjYQKVpE8k/oNT7bA+OJR0=";
12 buildInputs = [ pam openssl zlib ];
14 [ "--with-pam=$(out)/lib/security"
16 "--sysconfdir=$(out)/etc/duo"
17 "--with-openssl=${openssl.dev}"
22 description = "Duo Security Unix login integration";
23 homepage = "https://duosecurity.com";
24 license = lib.licenses.gpl2Only;
25 platforms = lib.platforms.unix;
26 maintainers = [ lib.maintainers.thoughtpolice ];