2014-12-30 10:03:29 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap }:
|
2009-11-06 13:57:29 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krb5";
|
2015-02-19 03:20:53 +01:00
|
|
|
version = "1.13.1";
|
2009-11-06 13:57:29 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
webpage = http://web.mit.edu/kerberos/;
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-12-30 10:03:29 +01:00
|
|
|
url = "${webpage}dist/krb5/1.13/${name}-signed.tar";
|
2015-02-19 03:20:53 +01:00
|
|
|
sha256 = "0gk6jvr64rf6l4xcyxn8i3fr5d1j7dhqvwyv3vw2qdkzz7yjkxjd";
|
2009-11-06 13:57:29 +01:00
|
|
|
};
|
|
|
|
|
2014-12-30 10:03:29 +01:00
|
|
|
buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ];
|
2009-11-06 13:57:29 +01:00
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
tar -xf $src
|
|
|
|
tar -xzf ${name}.tar.gz
|
|
|
|
cd ${name}/src
|
|
|
|
'';
|
|
|
|
|
2014-12-30 10:03:29 +01:00
|
|
|
configureFlags = [ "--with-tcl=no" ];
|
2013-03-20 23:36:17 +01:00
|
|
|
|
2013-05-01 13:11:46 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-12-30 10:03:29 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-03-20 23:36:17 +01:00
|
|
|
description = "MIT Kerberos 5";
|
|
|
|
homepage = webpage;
|
|
|
|
license = "MPL";
|
2014-12-30 10:03:29 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2009-11-06 13:57:29 +01:00
|
|
|
};
|
2015-03-05 01:48:20 +01:00
|
|
|
|
|
|
|
passthru.implementation = "krb5";
|
2009-11-06 13:57:29 +01:00
|
|
|
})
|