2008-04-02 14:28:55 +01:00
|
|
|
{stdenv, subversion, sshSupport ? false, openssh ? null, expect}:
|
|
|
|
{username, password, url, rev ? "HEAD", md5 ? "", sha256 ? ""}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "svn-export-ssh";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
buildInputs = [subversion expect];
|
|
|
|
|
|
|
|
outputHashAlgo = if sha256 == "" then "md5" else "sha256";
|
|
|
|
outputHashMode = "recursive";
|
2016-11-30 14:14:30 +00:00
|
|
|
outputHash = if sha256 == "" then md5 else sha256;
|
2008-04-02 14:28:55 +01:00
|
|
|
|
|
|
|
sshSubversion = ./sshsubversion.exp;
|
|
|
|
|
|
|
|
inherit username password url rev sshSupport openssh;
|
|
|
|
}
|