2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, boost, fcgi, openssl, opensaml-cpp, log4shib, pkg-config, xercesc, xml-security-c, xml-tooling-c }:
|
2017-04-26 22:08:46 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "shibboleth-sp";
|
2019-07-29 23:06:12 +01:00
|
|
|
version = "3.0.4.1";
|
2017-04-26 22:08:46 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.shibboleth.net/git/cpp-sp.git";
|
2018-01-18 18:53:14 +00:00
|
|
|
rev = version;
|
2019-07-29 23:06:12 +01:00
|
|
|
sha256 = "1qb4dbz5gk10b9w1rf6f4vv7c2wb3a8bfzif6yiaq96ilqad7gdr";
|
2017-04-26 22:08:46 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ boost fcgi openssl opensaml-cpp log4shib xercesc xml-security-c xml-tooling-c ];
|
2017-04-26 22:08:46 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--without-apxs"
|
|
|
|
"--with-xmltooling=${xml-tooling-c}"
|
|
|
|
"--with-saml=${opensaml-cpp}"
|
|
|
|
"--with-fastcgi"
|
|
|
|
];
|
|
|
|
|
2017-04-27 19:06:41 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://shibboleth.net/products/service-provider.html";
|
2017-04-26 22:08:46 +01:00
|
|
|
description = "Enables SSO and Federation web applications written with any programming language or framework";
|
2017-04-27 19:06:41 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.asl20;
|
2017-05-16 10:11:55 +01:00
|
|
|
maintainers = [ maintainers.jammerful ];
|
2017-04-26 22:08:46 +01:00
|
|
|
};
|
|
|
|
}
|