2009-11-06 12:57:29 +00:00
|
|
|
{stdenv, fetchurl, perl, ncurses, yacc}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krb5";
|
2013-05-01 11:11:46 +00:00
|
|
|
version = "1.10.5";
|
2009-11-06 12:57:29 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
webpage = http://web.mit.edu/kerberos/;
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-26 20:56:20 +00:00
|
|
|
url = "${webpage}/dist/krb5/1.10/${name}-signed.tar";
|
2013-05-01 11:11:46 +00:00
|
|
|
sha256 = "1nf195j9s8g55sh5dzbhy2l21kcdwgpn4acxrbwkvngdz9mv7g4k";
|
2009-11-06 12:57:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ncurses yacc ];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
tar -xf $src
|
|
|
|
tar -xzf ${name}.tar.gz
|
|
|
|
cd ${name}/src
|
|
|
|
'';
|
|
|
|
|
2013-05-01 11:11:46 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
2009-11-06 12:57:29 +00:00
|
|
|
description = "MIT Kerberos 5";
|
|
|
|
homepage = webpage;
|
|
|
|
license = "MPL";
|
|
|
|
};
|
|
|
|
})
|