depot/third_party/nixpkgs/pkgs/build-support/fetchsvnssh/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

19 lines
517 B
Nix

{lib, stdenvNoCC, subversion, sshSupport ? true, openssh ? null, expect}:
{username, password
, url, rev ? "HEAD"
, outputHash ? lib.fakeHash, outputHashAlgo ? null}:
lib.fetchers.withNormalizedHash { } (
stdenvNoCC.mkDerivation {
name = "svn-export-ssh";
builder = ./builder.sh;
nativeBuildInputs = [subversion expect];
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";
sshSubversion = ./sshsubversion.exp;
inherit username password url rev sshSupport openssh;
}
)