summary refs log tree commit diff
path: root/pkgs/development/libraries/kerberos/heimdal.nix
blob: 27890bd01e84fc2222bdaecc9625f8c2255e9702 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl }:

stdenv.mkDerivation rec {
  name = "heimdal-1.3.3";

  src = fetchurl {
    urls = [
      "http://www.h5l.org/dist/src/${name}.tar.gz"
      "http://ftp.pdc.kth.se/pub/heimdal/src/${name}.tar.gz"
    ];
    sha256 = "0c465by1g7niy3nkfs5mwrm6j6w2cvrf4988h3lpmj194lkjp3cc";
  };

  patches = [ ./no-md2.patch ];
  
  ## ugly, X should be made an option
  configureFlags = "--with-openldap=${openldap} --without-x";
  
  propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl ];
}