mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
70c36821c6
* added an experimental fetchdarcs function, based on fetchsvn (there are no expressions yet that use this function) svn path=/nixpkgs/trunk/; revision=4615
17 lines
293 B
Nix
17 lines
293 B
Nix
{stdenv, darcs, nix}: {url, tag ? null, md5}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "fetchdarcs";
|
|
builder = ./builder.sh;
|
|
buildInputs = [darcs nix];
|
|
|
|
# Nix <= 0.7 compatibility.
|
|
id = md5;
|
|
|
|
outputHashAlgo = "md5";
|
|
outputHashMode = "recursive";
|
|
outputHash = md5;
|
|
|
|
inherit url tag;
|
|
}
|