{ stdenv, fetchurl, pkgconfig, mod_ca, apr, aprutil }: stdenv.mkDerivation rec { pname = "mod_spkac"; version = "0.2.1"; src = fetchurl { url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz"; sha256 = "0x6ia9qcr7lx2awpv9cr4ndic5f4g8yqzmp2hz66zpzkmk2b2pyz"; }; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ mod_ca apr aprutil ]; inherit (mod_ca) configureFlags installFlags; meta = with stdenv.lib; { description = "RedWax CA service module for handling the Netscape keygen requests. "; homepage = "https://redwax.eu"; license = licenses.asl20; platforms = platforms.unix; maintainers = with maintainers; [ dirkx ]; }; }