mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
6a42433ee4
svn path=/nixpkgs/trunk/; revision=4573
18 lines
405 B
Nix
18 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)
|
|
];
|
|
}
|