1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/libraries/kerberos/heimdal.nix
David Guibert accda9616f heimdal: add sqlite support and install server executables to $out/sbin
svn path=/nixpkgs/trunk/; revision=22988
2010-08-06 08:52:47 +00:00

30 lines
746 B
Nix

{ stdenv, fetchurl, openldap, readline, db4, openssl, cyrus_sasl, sqlite} :
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}"
"--with-sqlite3=${sqlite}"
"--without-x"
];
# dont succeed with --libexec=$out/sbin, so
postInstall = ''
mv $out/libexec/* $out/sbin/
rmdir $out/libexec
'';
propagatedBuildInputs = [ readline db4 openssl openldap cyrus_sasl sqlite];
}