From f4d648ed5c6d64d3f63d11150a571434baa913ed Mon Sep 17 00:00:00 2001 From: "Jason \"Don\" O'Conal" Date: Mon, 27 May 2013 21:29:11 +1000 Subject: [PATCH] shishi: fix compilation on darwin --- pkgs/servers/shishi/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/shishi/default.nix b/pkgs/servers/shishi/default.nix index db6f94d38266..a5d31ca354d0 100644 --- a/pkgs/servers/shishi/default.nix +++ b/pkgs/servers/shishi/default.nix @@ -12,10 +12,17 @@ stdenv.mkDerivation rec { buildInputs = [ libtasn1 libgcrypt gnutls ] ; + NIX_CFLAGS_COMPILE + = stdenv.lib.optionalString stdenv.isDarwin "-DBIND_8_COMPAT"; + doCheck = true; meta = { description = "GNU Shishi, free implementation of the Kerberos 5 network security system"; + homepage = http://www.gnu.org/software/shishi/; + license = stdenv.lib.licenses.gpl3Plus; + maintainers = with stdenv.lib.maintainers; [ bjg lovek323 ]; + platforms = stdenv.lib.platforms.all; longDescription = '' GNU Shishi is an implementation of the Kerberos 5 network @@ -28,11 +35,5 @@ stdenv.mkDerivation rec { users to acquire and manage tickets (and more). The server side, a Key Distribution Center, is implemented by `shishid'. ''; - - homepage = http://www.gnu.org/software/shishi/; - license = "GPLv3+"; - - maintainers = [ stdenv.lib.maintainers.bjg ]; - platforms = stdenv.lib.platforms.all; }; }