2024-09-15 22:36:54 +00:00
|
|
|
{lib, stdenvNoCC, subversion, sshSupport ? true, openssh ? null, expect}:
|
|
|
|
{username, password
|
|
|
|
, url, rev ? "HEAD"
|
|
|
|
, outputHash ? lib.fakeHash, outputHashAlgo ? null}:
|
2008-04-02 13:28:55 +00:00
|
|
|
|
2024-09-15 22:36:54 +00:00
|
|
|
lib.fetchers.withNormalizedHash { } (
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
name = "svn-export-ssh";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
nativeBuildInputs = [subversion expect];
|
2017-03-13 12:31:44 +00:00
|
|
|
|
2024-09-15 22:36:54 +00:00
|
|
|
inherit outputHash outputHashAlgo;
|
|
|
|
outputHashMode = "recursive";
|
2008-04-02 13:28:55 +00:00
|
|
|
|
2024-09-15 22:36:54 +00:00
|
|
|
sshSubversion = ./sshsubversion.exp;
|
2017-03-13 12:31:44 +00:00
|
|
|
|
2024-09-15 22:36:54 +00:00
|
|
|
inherit username password url rev sshSupport openssh;
|
|
|
|
}
|
|
|
|
)
|