apacheHttpdPackages.mod_pkcs12: add passthru.updateScript

This commit is contained in:
Anthony Roussel 2024-03-21 22:32:01 +01:00
parent 08ed5d80d1
commit a86463f93f
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -1,4 +1,13 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }: {
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mod_pkcs12"; pname = "mod_pkcs12";
@ -10,13 +19,23 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags; inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; { meta = with lib; {
description = "RedWax CA service modules for PKCS#12 format files"; description = "RedWax CA service modules for PKCS#12 format files";
homepage = "https://redwax.eu"; homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_pkcs12/browse/ChangeLog";
license = licenses.asl20; license = licenses.asl20;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ]; maintainers = with maintainers; [ dirkx ];