2014-01-31 21:05:37 +01:00
|
|
|
{ stdenv, fetchurl, openldap, readline, db, openssl, cyrus_sasl, sqlite} :
|
2009-04-22 01:18:09 +02:00
|
|
|
|
2008-01-28 20:41:25 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-04 12:57:36 +01:00
|
|
|
name = "heimdal-1.5.3";
|
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-12-04 12:57:36 +01:00
|
|
|
sha256 = "19gypf9vzfrs2bw231qljfl4cqc1riyg0ai0xmm1nd1wngnpphma";
|
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
|
|
|
|
'';
|
|
|
|
|
2014-01-31 21:05:37 +01:00
|
|
|
propagatedBuildInputs = [ readline db openssl openldap cyrus_sasl sqlite];
|
2008-01-28 20:41:25 +01:00
|
|
|
}
|