nixpkgs-suyu/pkgs/tools/networking/openssh/default.nix
Armijn Hemel 6a42433ee4 make X forwarding optional. If enabled "xauth" is a dependency
svn path=/nixpkgs/trunk/; revision=4573
2006-01-17 18:48:18 +00:00

17 lines
405 B
Nix

{stdenv, fetchurl, zlib, openssl, xforwarding ? false, xauth ? null}:
assert xforwarding -> xauth != null;
stdenv.mkDerivation {
name = "openssh-3.8.1p1";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/openssh-3.8.1p1.tar.gz;
md5 = "1dbfd40ae683f822ae917eebf171ca42";
};
buildInputs = [zlib openssl
(if xforwarding then xauth else null)
];
}