apacheHttpdPackages.mod_ca: add passthru.updateScript

This commit is contained in:
Anthony Roussel 2024-03-21 22:12:07 +01:00
parent 0cb727d0b5
commit aa0ce1d98a
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
1 changed files with 26 additions and 6 deletions

View File

@ -1,4 +1,15 @@
{ lib, stdenv, fetchurl, pkg-config, apacheHttpd, openssl, openldap, apr, aprutil }:
{
apacheHttpd,
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
openldap,
openssl,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_ca";
@ -10,24 +21,33 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ apacheHttpd openssl openldap apr aprutil ];
buildInputs = [
apacheHttpd
apr
aprutil
openldap
openssl
];
# Note that configureFlags and installFlags are inherited by
# the various submodules.
#
configureFlags = [
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
];
configureFlags = [ "--with-apxs=${apacheHttpd.dev}/bin/apxs" ];
installFlags = [
"INCLUDEDIR=${placeholder "out"}/include"
"LIBEXECDIR=${placeholder "out"}/modules"
];
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service module";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_ca/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];