Unverified Commit 023605fe authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

shishi: enable strictDeps (#509236)

parents e7625850 cb1339b8
Loading
Loading
Loading
Loading
+16 −5
Original line number Diff line number Diff line
@@ -30,15 +30,24 @@ stdenv.mkDerivation (finalAttrs: {

  separateDebugInfo = true;

  nativeBuildInputs = [ pkg-config ];
  nativeBuildInputs = [
    libgcrypt
    pkg-config
  ];

  buildInputs = [
    libgcrypt
    libgpg-error
    libtasn1
    # TODO use lib.optional instead of setting packages to null
    (if usePam then pam else null)
    (if useLibidn then libidn else null)
    (if useGnutls then gnutls else null)
  ]
  ++ lib.optionals usePam [
    pam
  ]
  ++ lib.optionals useLibidn [
    libidn
  ]
  ++ lib.optionals useGnutls [
    gnutls
  ];

  configureFlags = [
@@ -79,6 +88,8 @@ stdenv.mkDerivation (finalAttrs: {
    -e 's,\(-ltasn1\),-L${libtasn1.out}/lib \1,'
  '';

  strictDeps = true;

  meta = {
    homepage = "https://www.gnu.org/software/shishi/";
    description = "Implementation of the Kerberos 5 network security system";