forked from mirrors/nixpkgs
38 lines
823 B
Nix
38 lines
823 B
Nix
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap }:
|
|
|
|
let
|
|
pname = "krb5";
|
|
version = "1.13";
|
|
name = "${pname}-${version}";
|
|
webpage = http://web.mit.edu/kerberos/;
|
|
in
|
|
|
|
stdenv.mkDerivation (rec {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "${webpage}dist/krb5/1.13/${name}-signed.tar";
|
|
sha256 = "10lmbbcrzknzjnhlfjgb4rc3vzncqhmd0kp82pwd0xxpkap7k3yw";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ];
|
|
|
|
unpackPhase = ''
|
|
tar -xf $src
|
|
tar -xzf ${name}.tar.gz
|
|
cd ${name}/src
|
|
'';
|
|
|
|
configureFlags = [ "--with-tcl=no" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "MIT Kerberos 5";
|
|
homepage = webpage;
|
|
license = "MPL";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
})
|