1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/kerberos/krb5.nix
Shea Levy fde3526e7d Merge branch 'master' into stdenv-updates
Conflict in kerberos, which was updated both in master and in
stdenv-updates. Kept the stdenv-updates version, except pulled in the
enableParallelBuilding change from master.

Signed-off-by: Shea Levy <shea@shealevy.com>

Conflicts:
	pkgs/development/libraries/kerberos/krb5.nix
2013-05-04 18:28:48 -04:00

36 lines
692 B
Nix

{stdenv, fetchurl, perl, ncurses, yacc}:
let
pname = "krb5";
version = "1.11.1";
name = "${pname}-${version}";
webpage = http://web.mit.edu/kerberos/;
in
stdenv.mkDerivation (rec {
inherit name;
src = fetchurl {
url = "${webpage}/dist/krb5/1.11/${name}-signed.tar";
sha256 = "0s07sbwrj3c61gc29g016csim04azb9h74rf5595fxzqlzv0y8rs";
};
buildInputs = [ perl ncurses yacc ];
unpackPhase = ''
tar -xf $src
tar -xzf ${name}.tar.gz
cd ${name}/src
'';
#doCheck = true; # report: No suitable file for testing purposes
enableParallelBuilding = true;
meta = {
description = "MIT Kerberos 5";
homepage = webpage;
license = "MPL";
};
})