{ stdenv, fetchurl, pkgconfig, mod_ca, apr, aprutil }: stdenv.mkDerivation rec { pname = "mod_pkcs12"; version = "0.2.1"; src = fetchurl { url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz"; sha256 = "0by4qfjs3a8q0amzwazfq8ii6ydv36v2mjga0jzc9i6xyl4rs6ai"; }; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ mod_ca apr aprutil ]; inherit (mod_ca) configureFlags installFlags; meta = with stdenv.lib; { description = "RedWax CA service modules for PKCS#12 format files"; homepage = "https://redwax.eu"; license = licenses.asl20; platforms = platforms.unix; maintainers = with maintainers; [ dirkx ]; }; }