nixpkgs/pkgs/build-support/fetchsvn/default.nix
Eelco Dolstra fa88e75c45 * Use fixed-output hashes in fetchsvn.
* In nix-prefetch-svn, support setuid installations where the user has
  no write access to the Nix store.

svn path=/nixpkgs/trunk/; revision=2275
2005-02-22 16:27:28 +00:00

16 lines
273 B
Nix

{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;
}