heimdal: Update build
This commit is contained in:
parent
afeef240dc
commit
0566d647e8
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "heimdal-1.5.3";
|
name = "heimdal-1.5.3";
|
||||||
@ -13,19 +15,28 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
## ugly, X should be made an option
|
## ugly, X should be made an option
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
"--enable-hdb-openldap-module"
|
||||||
|
"--with-capng"
|
||||||
"--with-openldap=${openldap}"
|
"--with-openldap=${openldap}"
|
||||||
"--with-sqlite3=${sqlite}"
|
"--with-sqlite3=${sqlite}"
|
||||||
"--without-x"
|
"--without-x"
|
||||||
];
|
];
|
||||||
|
|
||||||
# dont succeed with --libexec=$out/sbin, so
|
# dont succeed with --libexec=$out/sbin, so
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv "$out/libexec/"* $out/sbin/
|
mv "$out/libexec/"* $out/sbin/
|
||||||
rmdir $out/libexec
|
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 = {
|
meta = with stdenv.lib; {
|
||||||
platforms = stdenv.lib.platforms.linux;
|
description = "an implementation of Kerberos 5 (and some more stuff) largely written in Sweden";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ wkennington ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user