mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 21:33:07 +00:00
7478e8ef87
svn path=/nixpkgs/trunk/; revision=5734
17 lines
360 B
Nix
17 lines
360 B
Nix
{stdenv, subversion, nix, sshSupport ? false, openssh ? null}: {url, rev ? "HEAD", md5}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "svn-export";
|
|
builder = ./builder.sh;
|
|
buildInputs = [subversion nix];
|
|
|
|
# Nix <= 0.7 compatibility.
|
|
id = md5;
|
|
|
|
outputHashAlgo = "md5";
|
|
outputHashMode = "recursive";
|
|
outputHash = md5;
|
|
|
|
inherit url rev sshSupport openssh;
|
|
}
|