2006-01-17 19:48:18 +01:00
|
|
|
{stdenv, fetchurl, zlib, openssl, xforwarding ? false, xauth ? null}:
|
|
|
|
|
|
|
|
assert xforwarding -> xauth != null;
|
2004-08-02 13:55:31 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "openssh-3.8.1p1";
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-08-22 10:39:27 +02:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/openssh-3.8.1p1.tar.gz;
|
2004-08-02 13:55:31 +02:00
|
|
|
md5 = "1dbfd40ae683f822ae917eebf171ca42";
|
|
|
|
};
|
|
|
|
|
2006-01-17 19:48:18 +01:00
|
|
|
buildInputs = [zlib openssl
|
|
|
|
(if xforwarding then xauth else null)
|
|
|
|
];
|
2004-08-02 13:55:31 +02:00
|
|
|
}
|