2009-11-06 15:57:29 +03:00
|
|
|
{stdenv, fetchurl, perl, ncurses, yacc}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krb5";
|
2013-08-29 16:15:07 +04:00
|
|
|
version = "1.11.3";
|
2009-11-06 15:57:29 +03:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
webpage = http://web.mit.edu/kerberos/;
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-03-21 02:36:17 +04:00
|
|
|
url = "${webpage}/dist/krb5/1.11/${name}-signed.tar";
|
2013-08-29 16:15:07 +04:00
|
|
|
sha256 = "1daiaxgkxcryqs37w28v4x1vajqmay4l144d1zd9c2d7jjxr9gcs";
|
2009-11-06 15:57:29 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ncurses yacc ];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
tar -xf $src
|
|
|
|
tar -xzf ${name}.tar.gz
|
|
|
|
cd ${name}/src
|
|
|
|
'';
|
|
|
|
|
2013-03-21 02:36:17 +04:00
|
|
|
#doCheck = true; # report: No suitable file for testing purposes
|
|
|
|
|
2013-05-01 15:11:46 +04:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-03-21 02:36:17 +04:00
|
|
|
meta = {
|
|
|
|
description = "MIT Kerberos 5";
|
|
|
|
homepage = webpage;
|
|
|
|
license = "MPL";
|
2009-11-06 15:57:29 +03:00
|
|
|
};
|
|
|
|
})
|