mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
04bd6b0607
missing fetchhg expression added svn path=/nixpkgs/trunk/; revision=9249
17 lines
301 B
Nix
17 lines
301 B
Nix
{stdenv, mercurial, nix}: {url, tag ? null, md5}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "fetchdarcs";
|
|
builder = ./builder.sh;
|
|
buildInputs = [mercurial nix];
|
|
|
|
# Nix <= 0.7 compatibility.
|
|
id = md5;
|
|
|
|
outputHashAlgo = "md5";
|
|
outputHashMode = "recursive";
|
|
outputHash = md5;
|
|
|
|
inherit url tag;
|
|
}
|