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