Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenvNoCC,
4 subversion,
5 sshSupport ? true,
6 openssh ? null,
7 expect,
8}:
9{
10 username,
11 password,
12 url,
13 rev ? "HEAD",
14 outputHash ? lib.fakeHash,
15 outputHashAlgo ? null,
16}:
17
18lib.fetchers.withNormalizedHash { } (
19 stdenvNoCC.mkDerivation {
20 name = "svn-export-ssh";
21 builder = ./builder.sh;
22 nativeBuildInputs = [
23 subversion
24 expect
25 ];
26
27 inherit outputHash outputHashAlgo;
28 outputHashMode = "recursive";
29
30 sshSubversion = ./sshsubversion.exp;
31
32 inherit
33 username
34 password
35 url
36 rev
37 sshSupport
38 openssh
39 ;
40 }
41)