2004-04-14 12:55:33 +02:00
|
|
|
{stdenv, subversion, nix}: {url, rev ? "HEAD", md5}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "svn-export";
|
2003-11-25 18:38:48 +01:00
|
|
|
builder = ./builder.sh;
|
2004-04-14 12:55:33 +02:00
|
|
|
buildInputs = [subversion nix];
|
2005-02-22 17:27:28 +01:00
|
|
|
|
|
|
|
# Nix <= 0.7 compatibility.
|
2004-04-14 12:55:33 +02:00
|
|
|
id = md5;
|
2005-02-22 17:27:28 +01:00
|
|
|
|
|
|
|
outputHashAlgo = "md5";
|
2005-02-22 22:15:13 +01:00
|
|
|
outputHashMode = "recursive";
|
2005-02-22 17:27:28 +01:00
|
|
|
outputHash = md5;
|
|
|
|
|
|
|
|
inherit url rev;
|
2003-11-25 18:38:48 +01:00
|
|
|
}
|