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