1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/libraries/kerberos/krb5.nix

42 lines
994 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap, bootstrap_cmds }:
let
pname = "krb5";
version = "1.13.1";
name = "${pname}-${version}";
webpage = http://web.mit.edu/kerberos/;
2015-05-28 08:53:47 +01:00
in
stdenv.mkDerivation (rec {
inherit name;
src = fetchurl {
url = "${webpage}dist/krb5/1.13/${name}-signed.tar";
sha256 = "0gk6jvr64rf6l4xcyxn8i3fr5d1j7dhqvwyv3vw2qdkzz7yjkxjd";
};
buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ]
# Provides the mig command used by the build scripts
++ stdenv.lib.optional stdenv.isDarwin bootstrap_cmds ;
unpackPhase = ''
tar -xf $src
tar -xzf ${name}.tar.gz
cd ${name}/src
'';
configureFlags = [ "--with-tcl=no" ];
2013-03-20 22:36:17 +00:00
enableParallelBuilding = true;
2014-12-30 09:03:29 +00:00
meta = with stdenv.lib; {
2013-03-20 22:36:17 +00:00
description = "MIT Kerberos 5";
homepage = webpage;
2013-03-20 22:36:17 +00:00
license = "MPL";
platforms = platforms.unix;
2014-12-30 09:03:29 +00:00
maintainers = with maintainers; [ wkennington ];
};
2015-03-05 00:48:20 +00:00
passthru.implementation = "krb5";
})