2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
stdenvNoCC,
|
|
|
|
subversion,
|
|
|
|
sshSupport ? true,
|
|
|
|
openssh ? null,
|
|
|
|
expect,
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
username,
|
|
|
|
password,
|
|
|
|
url,
|
|
|
|
rev ? "HEAD",
|
|
|
|
sha256 ? "",
|
|
|
|
}:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
name = "svn-export-ssh";
|
|
|
|
builder = ./builder.sh;
|
2024-06-30 08:12:46 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
subversion
|
|
|
|
expect
|
|
|
|
];
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = sha256;
|
|
|
|
|
|
|
|
sshSubversion = ./sshsubversion.exp;
|
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
inherit
|
|
|
|
username
|
|
|
|
password
|
|
|
|
url
|
|
|
|
rev
|
|
|
|
sshSupport
|
|
|
|
openssh
|
|
|
|
;
|
2024-05-02 00:46:19 +00:00
|
|
|
}
|