mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
ba20e223f1
svn path=/nixpkgs/trunk/; revision=2279
17 lines
305 B
Nix
17 lines
305 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";
|
|
outputHashMode = "recursive";
|
|
outputHash = md5;
|
|
|
|
inherit url rev;
|
|
}
|