1 { lib, stdenv, fetchurl
2 , withShishi ? !stdenv.isDarwin, shishi ? null
5 assert withShishi -> shishi != null;
7 stdenv.mkDerivation rec {
11 url = "mirror://gnu/gss/${name}.tar.gz";
12 sha256 = "1syyvh3k659xf1hdv9pilnnhbbhs6vfapayp4xgdcc8mfgf9v4gz";
15 buildInputs = lib.optional withShishi shishi;
18 "--${if withShishi != null then "enable" else "disable"}-kereberos5"
24 postInstall = lib.optionalString withShishi ''
25 sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la
29 homepage = "https://www.gnu.org/software/gss/";
30 description = "Generic Security Service";
31 license = licenses.gpl3Plus;
32 maintainers = with maintainers; [ bjg ];
33 platforms = platforms.all;