mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{ lib, stdenv, fetchgit, autoreconfHook, boost, fcgi, openssl, opensaml-cpp, log4shib, pkg-config, xercesc, xml-security-c, xml-tooling-c }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "shibboleth-sp";
|
|
version = "3.0.4.1";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.shibboleth.net/git/cpp-sp.git";
|
|
rev = version;
|
|
sha256 = "1qb4dbz5gk10b9w1rf6f4vv7c2wb3a8bfzif6yiaq96ilqad7gdr";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ boost fcgi openssl opensaml-cpp log4shib xercesc xml-security-c xml-tooling-c ];
|
|
|
|
configureFlags = [
|
|
"--without-apxs"
|
|
"--with-xmltooling=${xml-tooling-c}"
|
|
"--with-saml=${opensaml-cpp}"
|
|
"--with-fastcgi"
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://shibboleth.net/products/service-provider.html";
|
|
description = "Enables SSO and Federation web applications written with any programming language or framework";
|
|
platforms = platforms.unix;
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.jammerful ];
|
|
};
|
|
}
|