nixpkgs/pkgs/development/libraries/kerberos/krb5.nix

38 lines
823 B
Nix
Raw Normal View History

2014-12-30 09:03:29 +00:00
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap }:
let
pname = "krb5";
2014-12-30 09:03:29 +00:00
version = "1.13";
name = "${pname}-${version}";
webpage = http://web.mit.edu/kerberos/;
in
stdenv.mkDerivation (rec {
inherit name;
src = fetchurl {
2014-12-30 09:03:29 +00:00
url = "${webpage}dist/krb5/1.13/${name}-signed.tar";
sha256 = "10lmbbcrzknzjnhlfjgb4rc3vzncqhmd0kp82pwd0xxpkap7k3yw";
};
2014-12-30 09:03:29 +00:00
buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ];
unpackPhase = ''
tar -xf $src
tar -xzf ${name}.tar.gz
cd ${name}/src
'';
2014-12-30 09:03:29 +00:00
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;
license = "MPL";
2014-12-30 09:03:29 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
})