3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/kerberos/heimdal.nix

32 lines
772 B
Nix
Raw Normal View History

{ stdenv, fetchurl, openldap, readline, db, openssl, cyrus_sasl, sqlite} :
stdenv.mkDerivation rec {
2013-12-04 11:57:36 +00:00
name = "heimdal-1.5.3";
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";
};
## 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 db openssl openldap cyrus_sasl sqlite];
meta = {
platforms = stdenv.lib.platforms.linux;
};
}