2010-08-06 09:52:47 +01:00
|
|
|
{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl, sqlite} :
|
2009-04-22 00:18:09 +01:00
|
|
|
|
2008-01-28 19:41:25 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-04 11:57:36 +00:00
|
|
|
name = "heimdal-1.5.3";
|
2008-01-28 19:41:25 +00:00
|
|
|
|
2009-04-22 00:18:09 +01: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-12-04 11:57:36 +00:00
|
|
|
sha256 = "19gypf9vzfrs2bw231qljfl4cqc1riyg0ai0xmm1nd1wngnpphma";
|
2009-04-22 00:18:09 +01:00
|
|
|
};
|
2008-01-28 19:41:25 +00:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
## ugly, X should be made an option
|
2010-08-06 09:52:47 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-openldap=${openldap}"
|
|
|
|
"--with-sqlite3=${sqlite}"
|
|
|
|
"--without-x"
|
|
|
|
];
|
|
|
|
# dont succeed with --libexec=$out/sbin, so
|
|
|
|
postInstall = ''
|
2013-06-06 09:48:32 +01:00
|
|
|
mv "$out/libexec/"* $out/sbin/
|
2010-08-06 09:52:47 +01:00
|
|
|
rmdir $out/libexec
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl sqlite];
|
2008-01-28 19:41:25 +00:00
|
|
|
}
|