diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix new file mode 100644 index 000000000000..ae8165638d1a --- /dev/null +++ b/pkgs/development/libraries/kerberos/krb5.nix @@ -0,0 +1,31 @@ +{stdenv, fetchurl, perl, ncurses, yacc}: + +let + pname = "krb5"; + version = "1.6.3"; + name = "${pname}-${version}"; + webpage = http://web.mit.edu/kerberos/; +in + +stdenv.mkDerivation (rec { + inherit name; + + src = fetchurl { + url = "${webpage}/dist/krb5/1.6/${name}-signed.tar"; + sha256 = "7a1bd7d4bd326828c8ee382ed2b69ccd6c58762601df897d6a32169d84583d2a"; + }; + + buildInputs = [ perl ncurses yacc ]; + + unpackPhase = '' + tar -xf $src + tar -xzf ${name}.tar.gz + cd ${name}/src + ''; + + meta = { + description = "MIT Kerberos 5"; + homepage = webpage; + license = "MPL"; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 53ed115e2b20..82b75c33c29d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3731,6 +3731,10 @@ let inherit stdenv fetchurl; }; + krb5 = import ../development/libraries/kerberos/krb5.nix { + inherit stdenv fetchurl perl ncurses yacc; + }; + lablgtk = import ../development/libraries/lablgtk { inherit fetchurl stdenv ocaml pkgconfig; inherit (gtkLibs) gtk;