mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
18 lines
431 B
Nix
18 lines
431 B
Nix
{stdenvNoCC, subversion, sshSupport ? true, openssh ? null, expect}:
|
|
{username, password, url, rev ? "HEAD", sha256 ? ""}:
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
name = "svn-export-ssh";
|
|
builder = ./builder.sh;
|
|
nativeBuildInputs = [subversion expect];
|
|
|
|
outputHashAlgo = "sha256";
|
|
outputHashMode = "recursive";
|
|
outputHash = sha256;
|
|
|
|
sshSubversion = ./sshsubversion.exp;
|
|
|
|
inherit username password url rev sshSupport openssh;
|
|
}
|