mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
bc0d605cf1
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
36 lines
920 B
Nix
36 lines
920 B
Nix
{ lib, stdenv, fetchurl, pkg-config, apacheHttpd, openssl, openldap, apr, aprutil }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mod_ca";
|
|
version = "0.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
|
sha256 = "0gs66br3aig749rzifxn6j1rz2kps4hc4jppscly48lypgyygy8s";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ apacheHttpd openssl openldap apr aprutil ];
|
|
|
|
# Note that configureFlags and installFlags are inherited by
|
|
# the various submodules.
|
|
#
|
|
configureFlags = [
|
|
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
|
|
];
|
|
|
|
installFlags = [
|
|
"INCLUDEDIR=${placeholder "out"}/include"
|
|
"LIBEXECDIR=${placeholder "out"}/modules"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "RedWax CA service module";
|
|
|
|
homepage = "https://redwax.eu";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ dirkx ];
|
|
};
|
|
}
|