1{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
2
3
4stdenv.mkDerivation rec {
5 pname = "mod_csr";
6 version = "0.2.3";
7
8 src = fetchurl {
9 url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
10 sha256 = "1p4jc0q40453wpvwqgnr1n007b4jxpkizzy3r4jygsxxgg4x9w7x";
11 };
12
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ mod_ca apr aprutil ];
15 inherit (mod_ca) configureFlags installFlags;
16
17 meta = with lib; {
18 description = "RedWax CA service module to handle Certificate Signing Requests";
19
20 homepage = "https://redwax.eu";
21 license = licenses.asl20;
22 platforms = platforms.unix;
23 maintainers = with maintainers; [ dirkx ];
24 };
25}