mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
20 lines
517 B
Nix
20 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;
|
|
}
|
|
)
|