From 1444a6806eff06078974c248dc2189927d6e3e0f Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 30 Dec 2014 00:32:41 -0800 Subject: [PATCH] heimdal: Update build --- .../libraries/kerberos/heimdal.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/kerberos/heimdal.nix b/pkgs/development/libraries/kerberos/heimdal.nix index d4285db1efb7..65340120829b 100644 --- a/pkgs/development/libraries/kerberos/heimdal.nix +++ b/pkgs/development/libraries/kerberos/heimdal.nix @@ -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 ]; }; }