1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

heimdal: Update build

This commit is contained in:
William A. Kennington III 2014-12-30 00:32:41 -08:00 committed by Peter Simons
parent 5fe743930a
commit 1444a6806e

View file

@ -1,4 +1,6 @@
{ stdenv, fetchurl, openldap, readline, db, openssl, cyrus_sasl, sqlite} :
{ stdenv, fetchurl, pkgconfig, flex, yacc, readline, openldap, libcap_ng
, sqlite, db, ncurses, openssl, cyrus_sasl
}:
stdenv.mkDerivation rec {
name = "heimdal-1.5.3";
@ -13,19 +15,28 @@ stdenv.mkDerivation rec {
## ugly, X should be made an option
configureFlags = [
"--enable-hdb-openldap-module"
"--with-capng"
"--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];
buildInputs = [
pkgconfig flex yacc readline openldap libcap_ng sqlite db ncurses
openssl cyrus_sasl
];
meta = {
platforms = stdenv.lib.platforms.linux;
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 ];
};
}