1{
2 apr,
3 aprutil,
4 directoryListingUpdater,
5 fetchurl,
6 lib,
7 mod_ca,
8 pkg-config,
9 stdenv,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "mod_csr";
14 version = "0.2.4";
15
16 src = fetchurl {
17 url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
18 hash = "sha256-JVd5N5UnAxDwq6AavEHA0HsY2TRa+9RmLLJeRZbj+4Q=";
19 };
20
21 nativeBuildInputs = [ pkg-config ];
22
23 buildInputs = [
24 apr
25 aprutil
26 mod_ca
27 ];
28
29 inherit (mod_ca) configureFlags installFlags;
30
31 passthru.updateScript = directoryListingUpdater {
32 url = "https://redwax.eu/dist/rs/";
33 };
34
35 meta = with lib; {
36 description = "RedWax CA service module to handle Certificate Signing Requests";
37 homepage = "https://redwax.eu";
38 changelog = "https://source.redwax.eu/projects/RS/repos/mod_csr/browse/ChangeLog";
39 license = licenses.asl20;
40 platforms = platforms.unix;
41 maintainers = with maintainers; [ dirkx ];
42 };
43}