2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
2019-12-24 17:01:04 +01:00
|
|
|
|
2020-02-15 17:01:49 +01:00
|
|
|
|
2019-12-24 17:01:04 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mod_csr";
|
2020-02-15 17:01:49 +01:00
|
|
|
version = "0.2.3";
|
2019-12-24 17:01:04 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
2020-02-15 17:01:49 +01:00
|
|
|
sha256 = "1p4jc0q40453wpvwqgnr1n007b4jxpkizzy3r4jygsxxgg4x9w7x";
|
2019-12-24 17:01:04 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-12-24 17:01:04 +01:00
|
|
|
buildInputs = [ mod_ca apr aprutil ];
|
|
|
|
inherit (mod_ca) configureFlags installFlags;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-12-24 17:01:04 +01:00
|
|
|
description = "RedWax CA service module to handle Certificate Signing Requests";
|
|
|
|
|
|
|
|
homepage = "https://redwax.eu";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ dirkx ];
|
|
|
|
};
|
|
|
|
}
|