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