diff --git a/pkgs/fetchsvn/fetchsvn.fix b/pkgs/fetchsvn/fetchsvn.fix new file mode 100644 index 000000000000..b1d28adbb996 --- /dev/null +++ b/pkgs/fetchsvn/fetchsvn.fix @@ -0,0 +1,9 @@ +Function(["name","url","rev"], + Package( + [ ("name", Var("name")) + , ("build", Relative("fetchsvn/fetchsvn.sh")) + , ("url", Var("url")) + , ("rev", Var("rev")) + ] + ) +) \ No newline at end of file diff --git a/pkgs/fetchsvn/fetchsvn.sh b/pkgs/fetchsvn/fetchsvn.sh new file mode 100755 index 000000000000..8185d3e09285 --- /dev/null +++ b/pkgs/fetchsvn/fetchsvn.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +echo "exporting svn repository $url (at rev $rev) into $out..." + +svn export -r $rev $url $out || exit 1 +