2010-08-06 10:52:47 +02:00
|
|
|
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl, sqlite} :
|
2009-04-22 01:18:09 +02:00
|
|
|
|
2008-01-28 20:41:25 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-06-06 10:43:26 +02:00
|
|
|
name = "heimdal-1.5.2";
|
2008-01-28 20:41:25 +01:00
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
src = fetchurl {
|
|
|
|
urls = [
|
|
|
|
"http://www.h5l.org/dist/src/${name}.tar.gz"
|
|
|
|
"http://ftp.pdc.kth.se/pub/heimdal/src/${name}.tar.gz"
|
|
|
|
];
|
2013-06-06 10:43:26 +02:00
|
|
|
sha256 = "22603f282f31173533b939d289f3374258aa1ccccbe51ee088d7568d321279ec";
|
2009-04-22 01:18:09 +02:00
|
|
|
};
|
2008-01-28 20:41:25 +01:00
|
|
|
|
2009-04-22 01:18:09 +02:00
|
|
|
## ugly, X should be made an option
|
2010-08-06 10:52:47 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-openldap=${openldap}"
|
|
|
|
"--with-sqlite3=${sqlite}"
|
|
|
|
"--without-x"
|
|
|
|
];
|
|
|
|
# dont succeed with --libexec=$out/sbin, so
|
|
|
|
postInstall = ''
|
2013-06-06 10:48:32 +02:00
|
|
|
mv "$out/libexec/"* $out/sbin/
|
2010-08-06 10:52:47 +02:00
|
|
|
rmdir $out/libexec
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl sqlite];
|
2008-01-28 20:41:25 +01:00
|
|
|
}
|