1 { lib, stdenv, apacheHttpd, autoconf, automake, autoreconfHook, curl, fetchFromGitHub, glib, lasso, libtool, libxml2, libxslt, openssl, pkg-config, xmlsec }:
3 stdenv.mkDerivation rec {
5 pname = "mod_auth_mellon";
8 src = fetchFromGitHub {
10 repo = "mod_auth_mellon";
12 sha256 = "sha256-frSfhddLfEZ2xSI7/HPZkr5AiTJ9nnYmnJZY8aC3zwI=";
15 nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
16 buildInputs = [ apacheHttpd curl glib lasso libtool libxml2 libxslt openssl xmlsec ];
18 configureFlags = ["--with-apxs2=${apacheHttpd.dev}/bin/apxs" "--exec-prefix=$out"];
22 cp ./mellon_create_metadata.sh $out/bin
24 cp ./.libs/mod_auth_mellon.so $out/modules
28 homepage = "https://github.com/latchset/mod_auth_mellon";
29 description = "An Apache module with a simple SAML 2.0 service provider";
30 mainProgram = "mellon_create_metadata.sh";
31 license = licenses.gpl2Plus;
32 platforms = platforms.linux;
33 maintainers = with maintainers; [ womfoo ];