summary refs log tree commit diff
path: root/pkgs/build-support/fetchsvn/default.nix
blob: 131dd5d756c2ae5b4186158490e76aeda5b93ecf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{stdenv, subversion, nix}: {url, rev ? "HEAD", md5}:

stdenv.mkDerivation {
  name = "svn-export";
  builder = ./builder.sh;
  buildInputs = [subversion nix];

  # Nix <= 0.7 compatibility.
  id = md5;

  outputHashAlgo = "md5";
  outputHash = md5;
  
  inherit url rev;
}