nixpkgs/pkgs/development/libraries/kerberos/heimdal.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2014-12-30 09:32:41 +01:00
{ stdenv, fetchurl, pkgconfig, flex, yacc, readline, openldap, libcap_ng
, sqlite, db, ncurses, openssl, cyrus_sasl
}:
stdenv.mkDerivation rec {
2013-12-04 12:57:36 +01: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 12:57:36 +01:00
sha256 = "19gypf9vzfrs2bw231qljfl4cqc1riyg0ai0xmm1nd1wngnpphma";
};
## ugly, X should be made an option
configureFlags = [
2015-01-01 17:18:50 +01:00
"--enable-hdb-openldap-module"
2014-12-30 09:32:41 +01:00
"--with-capng"
"--with-openldap=${openldap}"
"--with-sqlite3=${sqlite}"
"--without-x"
];
2014-12-30 09:32:41 +01:00
# dont succeed with --libexec=$out/sbin, so
postInstall = ''
mv "$out/libexec/"* $out/sbin/
rmdir $out/libexec
'';
2014-12-30 09:32:41 +01:00
buildInputs = [
pkgconfig flex yacc readline openldap libcap_ng sqlite db ncurses
openssl cyrus_sasl
];
2014-12-30 09:32:41 +01:00
meta = with stdenv.lib; {
description = "an implementation of Kerberos 5 (and some more stuff) largely written in Sweden";
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}