diff options
author | Anthony Roussel <anthony@roussel.dev> | 2024-03-21 22:24:49 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2024-03-22 12:52:24 +0100 |
commit | 056b001496c39f94c823ec40b4a7a81c018be1f4 (patch) | |
tree | cb049ffdbb804d651f20d81918cd29d0ae7854bb /pkgs/servers/http | |
parent | e52c766c4ab1bd4b51d8ef98669fdee3d1f667c2 (diff) |
apacheHttpdPackages.mod_ocsp: add passthru.updateScript
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/apache-modules/mod_ocsp/default.nix | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_ocsp/default.nix b/pkgs/servers/http/apache-modules/mod_ocsp/default.nix index 116a9822291f5..3b065ac97cbf5 100644 --- a/pkgs/servers/http/apache-modules/mod_ocsp/default.nix +++ b/pkgs/servers/http/apache-modules/mod_ocsp/default.nix @@ -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 { pname = "mod_ocsp"; @@ -10,13 +19,23 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ mod_ca apr aprutil ]; + + buildInputs = [ + apr + aprutil + mod_ca + ]; + inherit (mod_ca) configureFlags installFlags; + passthru.updateScript = directoryListingUpdater { + url = "https://redwax.eu/dist/rs/"; + }; + meta = with lib; { description = "RedWax CA service modules of OCSP Online Certificate Validation"; - homepage = "https://redwax.eu"; + changelog = "https://source.redwax.eu/projects/RS/repos/mod_csr/browse/ChangeLog"; license = licenses.asl20; platforms = platforms.unix; maintainers = with maintainers; [ dirkx ]; |