diff options
author | Aaron Andersen <aaron@fosslib.net> | 2021-12-17 06:21:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 06:21:46 -0500 |
commit | ced417eb721ece1be46da84e14506f80773e1cdc (patch) | |
tree | dca7b812a26791c3a0e8414c1faf310c48183600 /pkgs/servers/http | |
parent | a5b49f272ff1c4d6392385db2cbd4f764f46b85c (diff) | |
parent | 184f4f66184223af52427a1945804d98785d1767 (diff) |
Merge pull request #147015 from NorfairKing/mod_itk
mod_itk: init at 2.4.7-04
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/apache-modules/mod_itk/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_itk/default.nix b/pkgs/servers/http/apache-modules/mod_itk/default.nix new file mode 100644 index 0000000000000..a36a030899a59 --- /dev/null +++ b/pkgs/servers/http/apache-modules/mod_itk/default.nix @@ -0,0 +1,39 @@ +{ lib +, stdenv +, fetchurl +, pkg-config +, mod_ca +, apr +, aprutil +, apacheHttpd +}: + +stdenv.mkDerivation rec { + pname = "mod_itk"; + version = "2.4.7-04"; + + src = fetchurl { + url = "http://mpm-itk.sesse.net/mpm-itk-${version}.tar.gz"; + sha256 = "sha256:1kzgd1332pgpxf489kr0vdwsaik0y8wp3q282d4wa5jlk7l877v0"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ mod_ca apr aprutil apacheHttpd ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/modules + ${apacheHttpd.dev}/bin/apxs -S LIBEXECDIR=$out/modules -i mpm_itk.la + + runHook postInstall + ''; + + meta = with lib; { + description = "an MPM (Multi-Processing Module) for the Apache web server."; + maintainers = [ maintainers.zupo ]; + homepage = "http://mpm-itk.sesse.net/"; + license = licenses.asl20; + platforms = platforms.unix; + }; +} |