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

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