You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
494 B
16 lines
494 B
{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"; |
|
outputHash = if sha256 == "" then md5 else sha256; |
|
|
|
sshSubversion = ./sshsubversion.exp; |
|
|
|
inherit username password url rev sshSupport openssh; |
|
}
|
|
|