depot/pkgs/servers/http/apache-modules/mod_pkcs12/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

43 lines
909 B
Nix

{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_pkcs12";
version = "0.2.3";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
hash = "sha256-k7BZ5d0WigyTmoUyFds7UCJ/tFBiUxd5pS4cVxmAI1g=";
};
nativeBuildInputs = [ pkg-config ];
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 for PKCS#12 format files";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_pkcs12/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];
};
}