nixpkgs/pkgs/build-support/fetchsvnssh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
517 B
Nix
Raw Normal View History

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}:
2024-09-15 22:36:54 +00:00
lib.fetchers.withNormalizedHash { } (
stdenvNoCC.mkDerivation {
name = "svn-export-ssh";
builder = ./builder.sh;
nativeBuildInputs = [subversion expect];
2024-09-15 22:36:54 +00:00
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";
2024-09-15 22:36:54 +00:00
sshSubversion = ./sshsubversion.exp;
2024-09-15 22:36:54 +00:00
inherit username password url rev sshSupport openssh;
}
)