nixpkgs-suyu/pkgs/build-support/fetchhg/default.nix
Marc Weber 04bd6b0607 commented out avrdude which is using unstable lib functions,
missing fetchhg expression added

svn path=/nixpkgs/trunk/; revision=9249
2007-09-04 12:45:00 +00:00

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